Skip to content

Commit 34cd632

Browse files
committed
Update test scripts
1 parent c74ac1c commit 34cd632

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"prepublish": "npm run build",
1212
"build": "babel --out-dir ./lib ./src",
13-
"test": "tap test/*.js"
13+
"test": "tap test/*.js --no-timeout --node-arg=--require --node-arg=babel-register --node-arg=--require --node-arg=babel-polyfill"
1414
},
1515
"files": [
1616
"bin",

test/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
var test = require('tap').test;
1+
import { test } from 'tap';
22

3-
test('noop', function(t) {
3+
test('noop', (t) => {
4+
t.end();
45
});

0 commit comments

Comments
 (0)