Skip to content

test: skip static-import on v22#80

Closed
RafaelGSS wants to merge 1 commit intonodejs:mainfrom
RafaelGSS:skip-v18-static-import-on-v22
Closed

test: skip static-import on v22#80
RafaelGSS wants to merge 1 commit intonodejs:mainfrom
RafaelGSS:skip-v18-static-import-on-v22

Conversation

@RafaelGSS
Copy link
Copy Markdown
Member

This test is making this module fail on v22 CITGM. This should give time to us to improve this test scenario for v23 >=.

Refs: nodejs/citgm#1060

@timfish
Copy link
Copy Markdown
Contributor

timfish commented May 24, 2024

Does this not just need fixing for v22?

@RafaelGSS
Copy link
Copy Markdown
Member Author

Does this not just need fixing for v22?

Possibly, yes. I just made this naive "solution" to unblock this module to run in the Node.js CITGM between releases.

Copy link
Copy Markdown
Contributor

@timfish timfish left a comment

Choose a reason for hiding this comment

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

The tests still fail with this PR because the imports for test/hook/v18-static-import-assert.mjs are evaluated before the version check.

#81 does the version evaluation before attempting to load the test file

@RafaelGSS RafaelGSS closed this May 27, 2024
bengl pushed a commit that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants