-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Use node test runner #1845
Use node test runner #1845
Conversation
89bc549
to
d45e5cd
Compare
243150b
to
cf73bbc
Compare
}) | ||
.on('error', done) | ||
.end() | ||
}) | ||
}) | ||
|
||
it('should catch stream error', done => { | ||
// TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the TODO regarding?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, forgot to delete
__tests__/application/toJSON.test.js
Outdated
const assert = require('assert') | ||
const Koa = require('../..') | ||
|
||
process.env.NODE_ENV = 'test' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is NODE_ENV
now required specifically for this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed, moved this env to params
@sirenkovladd, thanks for all the updates! I want to check in with the more seasoned team about the removed test before moving forward. I appreciate your patience! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the work!
it seems like the tests do not automatically close when I run |
hmmm nevermind, it only happened once |
Checklist
use
node --test
instead ofjest
See: #1837 (comment)