Skip to content

Instantly share code, notes, and snippets.

@TheSavior TheSavior/mocha_coderpad.js Secret
Created Sep 26, 2016

Embed
What would you like to do?
How to use mocha in coderpad
const Mocha = require('mocha');
const mocha = new Mocha();
mocha.suite.emit('pre-require', this, 'solution', mocha);
describe('tests', () => {
it('should run', () => {
});
});
mocha.run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.