Skip to content

Commit 9baa17b

Browse files
committed
Add test files
1 parent d7e4b8c commit 9baa17b

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- '6'
4+
sudo: false
5+
script:
6+
- "npm test"
7+
after_success:
8+
- 'npm install coveralls && ./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"test": "npm run eslint && npm run test-cov",
77
"test-cov": "nyc ava test/ && nyc report --reporter=html",
8-
"eslint": "eslint ./lib",
8+
"eslint": "eslint ./lib index.js",
99
"prepublish": "npm test"
1010
},
1111
"repository": {

test/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const {test} = require('ava');
2+
test.todo('todo');

0 commit comments

Comments
 (0)