Skip to content

Instantly share code, notes, and snippets.

@mik01aj
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mik01aj/873aa20f73716f626738 to your computer and use it in GitHub Desktop.
Save mik01aj/873aa20f73716f626738 to your computer and use it in GitHub Desktop.
iron-node bug #45
{
"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"
}
}
'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();
describe('some test', function () {
it('fails!', function() {
expect(true).toBe(false);
});
});
@mik01aj
Copy link
Author

mik01aj commented Aug 10, 2015

This is what happens:

screenshot 2015-08-10 16 40 47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment