| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
If we have to use --expose-internals then that's fine, but it would be preferable if there was a way to cover the lines using public APIs. |
Sorry, something went wrong.
(We can also land this and try to refactor things later to use public APIs where possible.) |
Sorry, something went wrong.
If could is unreachable, you can delete it. If you want to be cautious, you can replace it with an internal assertion. (https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/cluster/shared_handle.js is an example of something that uses the internal assertion.) |
Sorry, something went wrong.
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
Just updated it using Public APIs |
Sorry, something went wrong.
Perfect, I'll create another PR to land this, ok? |
Sorry, something went wrong.
Sorry, something went wrong.
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
Sorry, something went wrong.
PR-URL: nodejs#41862 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: nodejs#41862 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #41862 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
|
@ErickWendel this breaks tests when landing in v16.x-staging. Do you mind creating a backport PR for the v16.x line? Thank you |
Sorry, something went wrong.
Heyy. Sure! Do you have an example of how to do it? I'm not sure if it's just to make it works on the v16.x |
Sorry, something went wrong.
PR-URL: nodejs/node#41862 Backport-PR-URL: nodejs/node#42788 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
| Back | FazBrowse Home | New Git URL |
Improve code coverage for streams duplexify.js
Refs:
I would add that those lines are unreachable:
In those cases, what could I do to cover it?