Created
October 14, 2016 22:23
-
-
Save Atlas7/5301f648357d186dd1274e72cb6dc28c to your computer and use it in GitHub Desktop.
cpadTDDMochaChaiBasics.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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