Skip to content
This repository was archived by the owner on Aug 8, 2020. It is now read-only.

Commit 5e20ad2

Browse files
committed
1 parent 7181fcd commit 5e20ad2

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

fixture.js

-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ import test from 'ava';
22

33
test('foo', t => {
44
t.pass();
5-
t.end();
65
});

fixture2.js

-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ import test from 'ava';
22

33
test('bar', t => {
44
t.pass();
5-
t.end();
65
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"jasmine"
3434
],
3535
"dependencies": {
36-
"ava": "^0.6.0",
36+
"ava": "^0.7.0",
3737
"gulp-util": "^3.0.6",
3838
"through2": "^2.0.0"
3939
},

test.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ import hooker from 'hooker';
44
import gutil from 'gulp-util';
55
import fn from './';
66

7-
test(t => {
8-
t.plan(1);
9-
7+
test.cb(t => {
108
const stream = fn();
119

1210
hooker.hook(gutil, 'log', (...args) => {
1311
if (/2 tests passed/.test(args.join(' '))) {
1412
hooker.unhook(gutil, 'log');
1513
t.pass();
14+
t.end();
1615
}
1716
});
1817

0 commit comments

Comments
 (0)