Created
March 6, 2017 06:33
-
-
Save PlasmaPower/4a59544f4e631e32515f927eef8a08a3 to your computer and use it in GitHub Desktop.
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
const fs = require('fs'); | |
describe('testing', () => { | |
it('should work', () => { | |
try { | |
fs.readFileSync('does not exist'); | |
} catch (err) { | |
expect(err).toBeInstanceOf(Error); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment