Skip to content

Instantly share code, notes, and snippets.

@retrohacker
Created July 21, 2020 20:16
Show Gist options
  • Save retrohacker/973ddd4d50383c27c75fa6572cab7e5d to your computer and use it in GitHub Desktop.
Save retrohacker/973ddd4d50383c27c75fa6572cab7e5d to your computer and use it in GitHub Desktop.
power-assert with tape output
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')
})
{
"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