| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
heh
Sorry, something went wrong.
There was a problem hiding this comment.
Why did you add this?
Sorry, something went wrong.
There was a problem hiding this comment.
Just tightening up the tests to be more strict.
Sorry, something went wrong.
There was a problem hiding this comment.
this can be a shorthand. { method, path: '/'}. Also this test structure is a bit strange - and I'm not sure that in this case the code is clearer after the refactoring. Personally I would prefer a for... of but it's not a big deal.
Sorry, something went wrong.
There was a problem hiding this comment.
It might be good to add a Symbol to the list of expectedFails while we're touching these
Sorry, something went wrong.
There was a problem hiding this comment.
Left a few nits - overall nice work with the countdown.
This is also a pretty big diff.
Sorry, something went wrong.
|
/cc @nodejs/testing @nodejs/http |
Sorry, something went wrong.
|
It seems this should be added before the code example in README.md to pass linting: <!-- eslint-disable strict, required-modules --> |
Sorry, something went wrong.
Sorry, something went wrong.
* Add common/countdown utility * Numerous improvements to http tests
* Add common/countdown utility * Numerous improvements to http tests PR-URL: #14315 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
Landed in b0a8a7c, squashed and a lint issue fixed in the process. |
Sorry, something went wrong.
|
@nodejs/codeandlearn ... As a future exercise for code-n-learn participants, there are a non-trivial number of existing tests that can be modified to use the new common/countdown module... for instance, to shutdown a server after a given number of test requests have completed. |
Sorry, something went wrong.
|
Seems like there should be some more people in @nodejs/codeandlearn (I know @Trott and @addaleax have been heavily involved, and I'm sure there are others who are interested). |
Sorry, something went wrong.
|
This doesn’t land cleanly on 8.x; if you can, please follow the guide and raise a backport PR. |
Sorry, something went wrong.
* Add common/countdown utility * Numerous improvements to http tests PR-URL: nodejs#14315 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
This does not land cleanly in LTS. Please feel free to manually backport by following the guide. Please also feel free to replace do-not-land if it is being backported |
Sorry, something went wrong.
* Add common/countdown utility * Numerous improvements to http tests PR-URL: #14315 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
| Back | FazBrowse Home | New Git URL |
Generalized http test suite improvements...
Checklist
Affected core subsystem(s)
test