Created
September 30, 2015 16:55
-
-
Save jbuck/44116ef0fa4e6bf39cd4 to your computer and use it in GitHub Desktop.
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
| { | |
| "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" | |
| } | |
| } |
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
| module.exports = 1; |
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 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