Skip to content

Commit 1442e06

Browse files
committed
fix test
1 parent 759acdf commit 1442e06

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"clean": "rimraf lib",
88
"build": "babel src --out-dir lib",
99
"lint": "eslint --max-warnings=0 src test examples",
10-
"test": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive",
10+
"test": "npm run lint && NODE_ENV=test mocha --compilers js:babel-core/register --recursive",
1111
"test:watch": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch",
1212
"test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive",
13-
"prepublish": "npm run lint && npm run test && npm run clean && npm run build",
13+
"prepublish": "npm run test && npm run clean && npm run build",
1414
"start": "cd examples && npm start"
1515
},
1616
"repository": {

Diff for: test/index.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import expect from 'expect';
33
import { createRenderer } from 'react-addons-test-utils';
44

55
import JSONTree from '../src/index';
6-
import JSONNode from '../lib/JSONNode';
6+
import JSONNode from '../src/JSONNode';
77

88
const BASIC_DATA = { a: 1, b: 'c' };
99

0 commit comments

Comments
 (0)