Skip to content

Commit 7de5de8

Browse files
committed
moved test directory
1 parent 145b262 commit 7de5de8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"description": "Starter Node.js sample project",
55
"main": "dst",
66
"directories": {
7-
"test": "src/test/"
7+
"test": "test/"
88
},
99
"scripts": {
1010
"dev": "nodemon -w src --exec \"babel-node src\"",
1111
"build": "babel src -s -D -d dst",
1212
"start": "node dst",
1313
"prestart": "npm run -s build",
14-
"test": "mocha --compilers js:babel-register src/test/user.spec.js",
14+
"test": "mocha --compilers js:babel-register test/user.spec.js",
1515
"_test": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive $(find test -name '*.spec.js')"
1616
},
1717
"eslintConfig": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import mocha from 'mocha';
22
import chai from 'chai';
33
import chaiHttp from 'chai-http';
4-
import app from '../index';
4+
import app from '../src/index';
55

66
chai.use(chaiHttp);
77
const expect = chai.expect;

0 commit comments

Comments
 (0)