Skip to content

Commit e7b479a

Browse files
committed
update v0.1.67
1 parent 520ba71 commit e7b479a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "nva",
3-
"version": "0.1.66",
3+
"version": "0.1.67",
44
"description": "scaffold for frontend and isomorphic project",
55
"bin": {
66
"nva": "bin/nva.js"
77
},
88
"main": "index.js",
99
"scripts": {
10-
"test": "mocha test/*-spec.js -t 100000"
10+
"test": "mocha test/*-spec.js"
1111
},
1212
"repository": {
1313
"type": "git",

test/build-spec.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ let execa = require('execa')
33
let path = require('path')
44
let expect = require('chai').expect
55

6-
describe.skip("build project test's", function() {
6+
describe("build project test's", function() {
77
let cli = path.join(__dirname, '..', 'bin', 'nva.js')
88
let cwd = process.cwd()
9+
this.timeout(50000)
910
before(function() {
1011
return setup()
1112
})
1213

1314
describe('source', function() {
14-
this.timeout(50000)
1515
let result
1616
before(function(done) {
1717
process.chdir(path.join(__dirname, '..', 'temp', 'mock-project', 'test'))
@@ -24,8 +24,7 @@ describe.skip("build project test's", function() {
2424
})
2525
})
2626
it('should success', function(done) {
27-
console.log('result',result)
28-
// expect(result.stdout).to.have.string('build success')
27+
expect(result.stdout).to.have.string('build success')
2928
done()
3029
})
3130
after(function() {

test/init-spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ let teardown = require("./fixture").teardown
66
let constants = require('./fixture').constants
77

88
describe('init', function() {
9+
this.timeout(50000)
910
before(function() {
1011
return setup()
1112
})

test/vendor-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ let expect = require('chai').expect
66
describe("build project test's", function() {
77
let cli = path.join(__dirname, '..', 'bin', 'nva.js')
88
let cwd = process.cwd()
9+
this.timeout(50000)
910
before(function() {
1011
return setup()
1112
})
1213

1314
describe('vendor', function() {
14-
this.timeout(50000)
1515
let result
1616
before(function(done) {
1717
process.chdir(path.join(__dirname, '..', 'temp', 'mock-project', 'test'))

0 commit comments

Comments
 (0)