-
Notifications
You must be signed in to change notification settings - Fork 30k
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
stream: add more filter tests #41936
Conversation
}); | ||
assert.rejects( | ||
stream.filter(() => true).toArray(), | ||
/boom/, |
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.
I think we would want to check the error by reference here, to match the spec proposal text.
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.
I recall this discussion before but I don't recall the conclusion, do you happen to have a reference?
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.
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.
lgtm
There's a CI failure related to the changes in this PR:
|
@aduh95 that's actually not related to this PR - but I can see why that'd happen I'll push a fix (which again is unrelated to this PR). |
Commit Queue failed- Loading data for nodejs/node/pull/41936 ✔ Done loading data for nodejs/node/pull/41936 ----------------------------------- PR info ------------------------------------ Title stream: add more filter tests (#41936) Author Benjamin Gruenbaum (@benjamingr) Branch benjamingr:add-filter-tests -> nodejs:master Labels test, needs-ci Commits 3 - stream: add more filter tests - fixup! - fixup! remove timeout from test Committers 1 - Benjamin Gruenbaum PR-URL: https://github.com/nodejs/node/pull/41936 Reviewed-By: Robert Nagy Reviewed-By: James M Snell Reviewed-By: Matteo Collina ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/41936 Reviewed-By: Robert Nagy Reviewed-By: James M Snell Reviewed-By: Matteo Collina -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - fixup! remove timeout from test ℹ This PR was created on Fri, 11 Feb 2022 17:55:59 GMT ✔ Approvals: 3 ✔ - Robert Nagy (@ronag) (TSC): https://github.com/nodejs/node/pull/41936#pullrequestreview-880871183 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/41936#pullrequestreview-880872056 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/41936#pullrequestreview-880887559 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-02-14T14:26:06Z: https://ci.nodejs.org/job/node-test-pull-request/42554/ - Querying data for job/node-test-pull-request/42554/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/1842083455 |
PR-URL: #41936 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Forgot to autosquash, meh, landed manually :) Landed in da11381 🎉 |
FYI you can use
commit-queue-squash
|
Thanks, yeah, I forgot to use that and already had a terminal open with node so I just landed with ncu :) |
PR-URL: nodejs#41936 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
PR-URL: nodejs#41936 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
PR-URL: #41936 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
PR-URL: #41936 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
@benjamingr this breaks when landing on v16.x-staging. Can you open a backport PR to land on v16.x? Thank you |
PR-URL: #41936 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
PR-URL: nodejs/node#41936 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Add more tests to Readable.prototype.filter
cc @nodejs/streams @aduh95