Last active
August 29, 2015 14:27
-
-
Save mik01aj/873aa20f73716f626738 to your computer and use it in GitHub Desktop.
iron-node bug #45
This file contains 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
{ | |
"name": "test", | |
"version": "1.0.0", | |
"description": "", | |
"main": "suite.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"jasmine": "^2.3.2" | |
} | |
} |
This file contains 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
'use strict'; | |
var Jasmine = require('jasmine'); | |
var jasmine = new Jasmine(); | |
process.on('uncaughtException', function(err) { | |
fail('Uncaught exception in async code: ' + err + '\n' + err.stack); | |
}); | |
jasmine.loadConfig({ | |
spec_dir: '.', | |
spec_files: ['test.js'], | |
}); | |
jasmine.execute(); |
This file contains 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
describe('some test', function () { | |
it('fails!', function() { | |
expect(true).toBe(false); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is what happens: