Created
July 21, 2020 20:16
-
-
Save retrohacker/973ddd4d50383c27c75fa6572cab7e5d to your computer and use it in GitHub Desktop.
power-assert with tape output
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 test = require('ava') | |
test('Should render power-assert', async t => { | |
const three = 3; | |
const x = [1,2,3] | |
t.assert(x.length > three, 'rendering power-assert') | |
}) |
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
{ | |
"scripts": { | |
"test": "ava; ava -t" | |
}, | |
"ava": { | |
"babel": true | |
}, | |
"devDependencies": { | |
"@ava/babel": "^1.0.1", | |
"ava": "^3.10.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment