Skip to content

Commit c52a201

Browse files
committed
Add test script
1 parent f304a82 commit c52a201

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"scripts": {
1111
"prepublish": "npm run build",
12-
"build": "babel --out-dir ./lib ./src"
12+
"build": "babel --out-dir ./lib ./src",
13+
"test": "tap test/*.js"
1314
},
1415
"files": [
1516
"bin",
@@ -31,6 +32,7 @@
3132
"babel-cli": "^6.22.2",
3233
"babel-preset-es2015": "^6.22.0",
3334
"babel-preset-stage-0": "^6.22.0",
34-
"github": "^8.1.1"
35+
"github": "^8.1.1",
36+
"tap": "^10.0.2"
3537
}
3638
}

test/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
var test = require('tap').test;
2+
3+
test('noop', function(t) {
4+
});

0 commit comments

Comments
 (0)