Skip to content

Commit 947b68b

Browse files
committed
refactor(gen): use mocha CLI directly
1 parent 7bf69d8 commit 947b68b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: circle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ jobs:
5656
- ~/generator-angular-fullstack/test/fixtures/node_modules
5757

5858
- run: gulp build
59-
- run: gulp test
59+
- run: npm test

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"url": "git://github.com/angular-fullstack/generator-angular-fullstack.git"
3232
},
3333
"scripts": {
34-
"test": "gulp updateFixtures:test && gulp installFixtures && gulp build && gulp test",
34+
"pre-test": "gulp updateFixtures:test && gulp installFixtures && gulp build",
35+
"test": "mocha --require should --require babel-register --require ./mocha.conf --reporter spec --timeout 120000 test/pre.test.js test/*.test.js",
3536
"prepublish": "gulp build"
3637
},
3738
"dependencies": {

0 commit comments

Comments
 (0)