★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/24161Nouvelle recherche | Portail wanayoo
Skip to content
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

test: check for invalid importModuleDynamically type in vm.js #24161

Closed
wants to merge 1 commit into from

Conversation

alyssaq
Copy link
Contributor

@alyssaq alyssaq commented Nov 6, 2018

Added test for checking the thrown error when the option importModuleDynamically is not a function.

@gireeshpunathil
Copy link
Member

@gireeshpunathil gireeshpunathil commented Nov 11, 2018

'import("foo")',
{ importModuleDynamically: false }),
{ code: 'ERR_INVALID_ARG_TYPE' }
)
Copy link
Member

@gireeshpunathil gireeshpunathil Nov 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linter failed due to missing semicolon here; @alyssaq - can you please make that change?

Copy link
Contributor Author

@alyssaq alyssaq Nov 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@gireeshpunathil
Copy link
Member

@gireeshpunathil gireeshpunathil commented Nov 13, 2018

@gireeshpunathil
Copy link
Member

@gireeshpunathil gireeshpunathil commented Nov 13, 2018

landed as dde9b3a , thanks!

gireeshpunathil added a commit that referenced this issue Nov 13, 2018
PR-URL: #24161
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
BridgeAR added a commit that referenced this issue Nov 14, 2018
PR-URL: #24161
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
kiyomizumia added a commit to kiyomizumia/node that referenced this issue Nov 15, 2018
PR-URL: nodejs#24161
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

7 participants