Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonmoeller committed Jan 30, 2018
1 parent 51c4c21 commit f72c6fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const test = require('blue-tape');
const close = require('../close');
const foo = require('./foo.js');
const bar = require('./bar.js');

Expand All @@ -13,4 +12,6 @@ test('should sum numbers again', async t => {
t.comment('hello from test');
});

test.onFinish(close);
if (typeof window !== 'undefined') {
test.onFinish(window.__close__);
}

0 comments on commit f72c6fb

Please sign in to comment.