/wixTDDKatas

TDD Katas in JS

Primary LanguageJavaScript

JS TDD Katas by Wix

installation

npm install

run tests

  • using Wallaby.js for JetBrains: follow instructions here.

  • using good ol' mocha:

    npm run tdd
    

Content

  • Greeter class which contains the greet function. greet receives a name as input and outputs Hello name.
  • StringCalculator contains the add function which receives a a delimited string, and returns the sum of the numbers in the string.
  • PrimeFactors contains the generate function which given an integer, returns the list containing the prime factors in numerical sequence.
  • BowlingGame a kata for the Bowling Game problem.