-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading 2.0.2 -> 2.0.3 - promise warning/exception #3056
Comments
Seems like you need to return the promise: let sPromise = new Server({... to return new Server({... or const sPromise = new Server({...
return sPromise; |
@johnjbarton - pretty quick on the draw. The sPromise has nothing to do with it, the done() does. |
karma/lib/server.js:122 is Where's the promise? Plus the test in #3055 calls So we need more hints on where that error is really coming from. |
@johnjbarton - I'm running on Linux Fedora 28 and node v8.9.4, if that matters. And I'm not using the static method - I haven't pushed the new version out, but if you want to see the various bundlers/gulp setups I'm using, my demo is github.com/DaveO-Home/embedded-acceptance-tests-vue - this is not a show stopper for me, just an irritation. I have no idea what this is; bluebird/js/release/promise.js |
I down graded to 2.0.2 and the warning did not show. ├─┬ karma@2.0.3
│ ├── bluebird@3.5.1
│ └─┬ log4js@2.9.0
│ └─┬ amqplib@0.5.2
│ └── bluebird@3.5.1
├─┬ karma@2.0.2
│ ├── bluebird@3.5.0 deduped
│ └─┬ log4js@2.9.0
│ └─┬ amqplib@0.5.2
│ └── bluebird@3.5.0 deduped Wondering what changed in bluebird. |
Expected behaviour
No warning : karma executes successfully after the promise fails, just stalls the process......
Actual behaviour
Getting:
Environment Details
karma --version
):2.0.3
karma.config.js
fileSteps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: