FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

timers: add non-boolean ref test setImmediate by RaisinTen · Pull Request #35860 · nodejs/node · GitHub

/ node Public

timers: add non-boolean ref test setImmediate - #35860

Closed
RaisinTen wants to merge 1 commit into
nodejs:masterfrom
RaisinTen:timers/add-non-boolean-ref-test-setImmediate
Closed

timers: add non-boolean ref test setImmediate#35860
RaisinTen wants to merge 1 commit into
nodejs:masterfrom
RaisinTen:timers/add-non-boolean-ref-test-setImmediate

Conversation

Copy link
Copy Markdown
Member

I added a test to improve the coverage here:

if (typeof ref !== 'boolean') {
return PromiseReject(
new ERR_INVALID_ARG_TYPE(
'options.ref',
'boolean',
ref));
}

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

nodejs-github-bot added the test Issues and PRs related to the tests. label Oct 29, 2020

Trott commented Oct 29, 2020

Copy link
Copy Markdown
Member

LGTM but I think it's a duplicate of #35852.

Copy link
Copy Markdown
Member Author

@Trott 🤦 I forgot to check before I made the PR. Whoops! Should I close it?

Trott commented Oct 29, 2020

Copy link
Copy Markdown
Member

@Trott 🤦 I forgot to check before I made the PR. Whoops! Should I close it?

In this case, yeah, probably.

RaisinTen closed this Oct 29, 2020
RaisinTen deleted the timers/add-non-boolean-ref-test-setImmediate branch October 29, 2020 13:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL