Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Mar 9, 2019
1 parent 51ac3d0 commit 8bc8d61
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Expand Up @@ -2,11 +2,11 @@ language: node_js
sudo: required
matrix:
include:
- node_js: "0.12"
script: "npm test"
- node_js: "4"
script: "npm run travis"
- node_js: "10"
script: "npm run travis"
- node_js: "0.12"
script: "npm test"
- node_js: "4"
script: "npm test"
- node_js: "10"
script: "npm run travis"
env:
- BLUEBIRD_DEBUG=0
- BLUEBIRD_DEBUG=0
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -71,7 +71,7 @@ $ npm run coverage

## License

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


Expand Down
43 changes: 43 additions & 0 deletions npm-debug.log
@@ -0,0 +1,43 @@
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'lint' ]
2 info using npm@2.15.11
3 info using node@v4.9.1
4 verbose run-script [ 'prelint', 'lint', 'postlint' ]
5 info prelint spex@2.2.0
6 info lint spex@2.2.0
7 verbose unsafe-perm in lifecycle true
8 info spex@2.2.0 Failed to exec lint script
9 verbose stack Error: spex@2.2.0 lint: `eslint ./lib ./test/**/*Spec.js`
9 verbose stack Exit status 1
9 verbose stack at EventEmitter.<anonymous> (C:\Users\Vitaly\AppData\Roaming\nvm\v4.9.1\node_modules\npm\lib\utils\lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess.<anonymous> (C:\Users\Vitaly\AppData\Roaming\nvm\v4.9.1\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:862:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
10 verbose pkgid spex@2.2.0
11 verbose cwd D:\NodeJS\spex
12 error Windows_NT 10.0.17134
13 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "lint"
14 error node v4.9.1
15 error npm v2.15.11
16 error code ELIFECYCLE
17 error spex@2.2.0 lint: `eslint ./lib ./test/**/*Spec.js`
17 error Exit status 1
18 error Failed at the spex@2.2.0 lint script 'eslint ./lib ./test/**/*Spec.js'.
18 error This is most likely a problem with the spex package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error eslint ./lib ./test/**/*Spec.js
18 error You can get information on how to open an issue for this project with:
18 error npm bugs spex
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls spex
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
2 changes: 1 addition & 1 deletion test/ext/sequence/sequenceSpec.js
Expand Up @@ -134,7 +134,7 @@ describe('Sequence - negative', function () {
beforeEach(function (done) {

function source() {
return spex.batch([promise.reject(123)]);
return spex.batch([promise.reject(new Error('123'))]);
}

spex.sequence(source)
Expand Down

0 comments on commit 8bc8d61

Please sign in to comment.