Created
August 12, 2020 11:23
-
-
Save wunnle/ccd32c6877a33cd1e758fe30bbbb8621 to your computer and use it in GitHub Desktop.
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
test('sample test', () => { | |
const a = 5 | |
try { | |
expect(a).toBe(4) | |
console.log('test passed') | |
} catch (error) { | |
console.log('test failed') | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment