Skip to content

Instantly share code, notes, and snippets.

@jbuck
Created September 30, 2015 16:55
Show Gist options
  • Select an option

  • Save jbuck/44116ef0fa4e6bf39cd4 to your computer and use it in GitHub Desktop.

Select an option

Save jbuck/44116ef0fa4e6bf39cd4 to your computer and use it in GitHub Desktop.
{
"scripts": {
"test": "lab -t 100 test.js",
"test-cov-html": "lab -r html -o coverage.html test.js"
},
"dependencies": {
"code": "^1.5.0",
"lab": "^6.1.0"
}
}
module.exports = 1;
var Lab = require('lab');
var lab = exports.lab = Lab.script();
var experiment = lab.experiment;
var test = lab.test;
var expect = require('code').expect;
var silly = require("./silly");
test('Testing Windows', function(done) {
expect(silly).to.equal(1);
done();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment