Skip to content

Instantly share code, notes, and snippets.

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

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', () => {
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.