This is a testing challenge for candidates in Coding Factory 2019. The repository contains two folders, one for each gate. Both folders contain a file for source code and a file for tests. The aim is to write the code implementation into the source files so that the tests can pass.
- Choose which gate will the tested by navigating to
/gateOne
or/gateTwo
- Install dependencies with
npm i
oryarn
- Open editor with
gateOne.js
orgateTwo.js
- Open a terminal instance and navigate to this repository
- Run tests in watch mode by executing
npm test
oryarn test
- Guide candidates when necessary and see the magic happen!
(Tests should be written in JavaScript. ES6 syntax can be used.)