Skip to content

feat(jest-core): Add support for testSequencer written in ESM - #11207

Merged
SimenB merged 5 commits into
jestjs:masterfrom
WeiAnAn:require-or-import-test-sequencer
Mar 20, 2021
Merged

SimenB merged 5 commits into
jestjs:masterfrom
WeiAnAn:require-or-import-test-sequencer

Conversation

@WeiAnAn

@WeiAnAn WeiAnAn commented Mar 17, 2021 •

Copy link
Copy Markdown
Contributor

Summary

Related to #11167

Add support for testSequencer written in ESM.

Use requireOrImportModule to load testSequencer

Test plan

e2e test

@SimenB SimenB left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very nice!

@SimenB

SimenB commented Mar 17, 2021

Copy link
Copy Markdown
Member

You need to skip the test on node 10. See how other esm tests does it

@WeiAnAn

WeiAnAn commented Mar 17, 2021

Copy link
Copy Markdown
Contributor Author

You need to skip the test on node 10. See how other esm tests does it

Done it!
Wait CI pass 🎉

@SimenB
SimenB merged commit 2d96526 into jestjs:master Mar 20, 2021
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants