Skip to content

Instantly share code, notes, and snippets.

@Atlas7
Created October 14, 2016 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Atlas7/5301f648357d186dd1274e72cb6dc28c to your computer and use it in GitHub Desktop.
Save Atlas7/5301f648357d186dd1274e72cb6dc28c to your computer and use it in GitHub Desktop.
cpadTDDMochaChaiBasics.js
const Mocha = require ('mocha')
const assert = require('chai').assert
const mocha = new Mocha ({ui: 'bdd'})
mocha.suite.emit('pre-require', this, 'solution', mocha)
describe('Test suite', () => {
it('should work', () => {
assert(true)
})
})
mocha.run(() => {})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment