mirror of https://github.com/lukechilds/ava.git
vdemedes
9 years ago
6 changed files with 124 additions and 8 deletions
@ -0,0 +1,13 @@ |
|||||
|
const test = require('../../'); |
||||
|
|
||||
|
test.beforeEach(fail); |
||||
|
test(pass); |
||||
|
|
||||
|
function pass(t) { |
||||
|
t.end(); |
||||
|
} |
||||
|
|
||||
|
function fail(t) { |
||||
|
t.fail(); |
||||
|
t.end(); |
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
const test = require('../../'); |
||||
|
|
||||
|
test.before(pass); |
||||
|
test.beforeEach(pass); |
||||
|
test.after(pass); |
||||
|
test.afterEach(pass); |
||||
|
test(pass); |
||||
|
|
||||
|
function pass(t) { |
||||
|
t.end(); |
||||
|
} |
Loading…
Reference in new issue