Skip to content

Instantly share code, notes, and snippets.

@Prinzhorn Prinzhorn/output.txt
Last active Mar 29, 2016

Embed
What would you like to do?
Jest + jasmine silently ignores
$: npm test
> tmp@1.0.0 test /tmp
> jest
Using Jest CLI v0.9.2, jasmine2
PASS __tests__/test.js (0.037s)
1 test passed (1 total in 1 test suite, run time 0.795s)
var someCriticalFunction = function() {
throw 'up';
};
describe('test 1', () => {
it('is true', () => {
expect(true).toBe(true);
})
});
describe('test 2', () => {
it('is ignored?', () => {
someCriticalFunction();
expect(true).toBe(false);
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.