Created
December 29, 2015 10:00
-
-
Save mamaz/57f597c2c7cc016ed441 to your computer and use it in GitHub Desktop.
Just a mocha template
This file contains hidden or 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
var assert = require('assert'); | |
var async = require('asyncawait/async'); | |
var await = require('asyncawait/await'); | |
describe('hooks', function() { | |
before(function() { | |
// runs before all tests in this block | |
}); | |
beforeEach(function() { | |
// runs before each test in this block | |
}); | |
afterEach(function() { | |
// runs after each test in this block | |
}); | |
it('should be able to run anything that matters', function(){ | |
}); | |
afterEach(function() { | |
// runs after each test in this block | |
}); | |
after(function() { | |
// runs after all tests in this block | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment