-
-
Save s-a/aaec29ad03cd7138ca8a to your computer and use it in GitHub Desktop.
iron-node bug #45
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
| { | |
| "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 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
| '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); | |
| }); | |
| process.exit = function() {} | |
| jasmine.loadConfig({ | |
| spec_dir: '.', | |
| spec_files: ['test.js'], | |
| }); | |
| jasmine.execute(); |
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
| 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