Skip to content

Commit 8bc8d61

Browse files
committed
fixing tests
1 parent 51ac3d0 commit 8bc8d61

4 files changed

Lines changed: 52 additions & 9 deletions

File tree

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ language: node_js
22
sudo: required
33
matrix:
44
include:
5-
- node_js: "0.12"
6-
script: "npm test"
7-
- node_js: "4"
8-
script: "npm run travis"
9-
- node_js: "10"
10-
script: "npm run travis"
5+
- node_js: "0.12"
6+
script: "npm test"
7+
- node_js: "4"
8+
script: "npm test"
9+
- node_js: "10"
10+
script: "npm run travis"
1111
env:
12-
- BLUEBIRD_DEBUG=0
12+
- BLUEBIRD_DEBUG=0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ $ npm run coverage
7171

7272
## License
7373

74-
Copyright © 2018 [Vitaly Tomilov](https://github.com/vitaly-t);
74+
Copyright © 2019 [Vitaly Tomilov](https://github.com/vitaly-t);
7575
Released under the MIT license.
7676

7777

npm-debug.log

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
0 info it worked if it ends with ok
2+
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
3+
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
4+
1 verbose cli 'run',
5+
1 verbose cli 'lint' ]
6+
2 info using npm@2.15.11
7+
3 info using node@v4.9.1
8+
4 verbose run-script [ 'prelint', 'lint', 'postlint' ]
9+
5 info prelint spex@2.2.0
10+
6 info lint spex@2.2.0
11+
7 verbose unsafe-perm in lifecycle true
12+
8 info spex@2.2.0 Failed to exec lint script
13+
9 verbose stack Error: spex@2.2.0 lint: `eslint ./lib ./test/**/*Spec.js`
14+
9 verbose stack Exit status 1
15+
9 verbose stack at EventEmitter.<anonymous> (C:\Users\Vitaly\AppData\Roaming\nvm\v4.9.1\node_modules\npm\lib\utils\lifecycle.js:217:16)
16+
9 verbose stack at emitTwo (events.js:87:13)
17+
9 verbose stack at EventEmitter.emit (events.js:172:7)
18+
9 verbose stack at ChildProcess.<anonymous> (C:\Users\Vitaly\AppData\Roaming\nvm\v4.9.1\node_modules\npm\lib\utils\spawn.js:24:14)
19+
9 verbose stack at emitTwo (events.js:87:13)
20+
9 verbose stack at ChildProcess.emit (events.js:172:7)
21+
9 verbose stack at maybeClose (internal/child_process.js:862:16)
22+
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
23+
10 verbose pkgid spex@2.2.0
24+
11 verbose cwd D:\NodeJS\spex
25+
12 error Windows_NT 10.0.17134
26+
13 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "lint"
27+
14 error node v4.9.1
28+
15 error npm v2.15.11
29+
16 error code ELIFECYCLE
30+
17 error spex@2.2.0 lint: `eslint ./lib ./test/**/*Spec.js`
31+
17 error Exit status 1
32+
18 error Failed at the spex@2.2.0 lint script 'eslint ./lib ./test/**/*Spec.js'.
33+
18 error This is most likely a problem with the spex package,
34+
18 error not with npm itself.
35+
18 error Tell the author that this fails on your system:
36+
18 error eslint ./lib ./test/**/*Spec.js
37+
18 error You can get information on how to open an issue for this project with:
38+
18 error npm bugs spex
39+
18 error Or if that isn't available, you can get their info via:
40+
18 error
41+
18 error npm owner ls spex
42+
18 error There is likely additional logging output above.
43+
19 verbose exit [ 1, true ]

test/ext/sequence/sequenceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ describe('Sequence - negative', function () {
134134
beforeEach(function (done) {
135135

136136
function source() {
137-
return spex.batch([promise.reject(123)]);
137+
return spex.batch([promise.reject(new Error('123'))]);
138138
}
139139

140140
spex.sequence(source)

0 commit comments

Comments
 (0)