/jasmine-tut

Accompanying code for Jasmine, Jest, Ava and TypeScript tutorial series

Primary LanguageJavaScriptMIT LicenseMIT

Jasmine Tutorial

Code for bliki series on Jasmine

Content

Folders:

  • spec:
    • helpers: helpers, globals, loading of custom configuration, equality testers and reports
    • support: example jasmine.json files
  • src
    • *.js: the suite with all sorts of Jasmine functionality tests
    • proxyquire: plugin examples
  • babel: do a Babel transpilation before running the tests
  • typescript: Jasmine with TypeScript
  • Jest: Converted the Jasmine examples to Jest

Running the tests

npm install

# Run once
npm t

# Watch
npm run test:w

# Run tests with Babel compilation
npm run babel

# Watch for changes
npm run babel:w

AVA Tutorial

Somehow, the AVA Tutorial code ended up here aswell.