This is a basic submission for the Equal Experts technical test (version c52851081674597ecf5d5a4ed3bf750b39e3f8e5) written in strict-mode JavaScript. Code building is provided by Webpack, unit testing is provided by Jest and consistency checking is provided by es-lint.
Once you have pulled down the solution, simply run npm install
to install the dependencies and then npm run build:prod
to build a production ready, unit tested and linted output.
This package contains the GIT repository with a master root branch that contains the initial commit and various boilerplate code. There are three branches, one for each of the given tasks to make stepping through them easy and obvious.
Step one should match output 1 2 fizz 4 buzz fizz 7 8 fizz buzz 11 fizz 13 14 fizzbuzz 16 17 fizz 19 buzz.
Step two should match output 1 2 lucky 4 buzz fizz 7 8 fizz buzz 11 fizz lucky 14 fizzbuzz 16 17 fizz 19 buzz
Step three should match output 1 2 lucky 4 buzz fizz 7 8 fizz buzz 11 fizz lucky 14 fizzbuzz 16 17 fizz 19 buzz fizz: 4 buzz: 3 fizzbuzz: 1 lucky: 2 integer: 10
All steps have 100% test coverage and a suite of useful, passing tests.