Skip to content

Commit ec216cb

Browse files
author
LazyTesting
committed
added test command to base package.json
1 parent d156865 commit ec216cb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ install:
66
- npm i
77

88
script:
9-
- "mocha **/*spec*.js"
9+
- npm test

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
"version": "0.0.1",
44
"description": "Tools for analyzing GPX data",
55
"main": "app.js",
6-
"dependencies": {
7-
"eslint": "^3.8.0"
8-
},
96
"devDependencies": {
107
"glob": "^7.1.1",
8+
"istanbul": "^0.4.5",
119
"mocha": "^3.1.2"
1210
},
1311
"scripts": {
14-
"test": "echo \"Error: no test specified\" && exit 1",
12+
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec */*/spec.js",
1513
"post-instal": "node ./install-all.js"
1614
},
1715
"repository": {

0 commit comments

Comments
 (0)