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

feat: allow passing the whole ModuleTeardownOptions #1475

Merged
merged 3 commits into from
May 17, 2022
Merged

Conversation

chabb
Copy link
Contributor

@chabb chabb commented May 16, 2022

Summary

In #1466 , I've forgotten to mention that there was a whole configuration object for the teardown options.

Test plan

Does this PR introduce a breaking change?

  • Yes
  • No

People who passed the destroyAfterEach flag will need to pass the whole options object

Other information

@ahnpnl
Copy link
Collaborator

ahnpnl commented May 16, 2022

Can we make it to not be a breaking change?

@chabb
Copy link
Contributor Author

chabb commented May 16, 2022

I've added a commit to let the user pass destroyAfterEach

src/global.d.ts Outdated Show resolved Hide resolved
src/global.d.ts Show resolved Hide resolved
setup-jest.mjs Show resolved Hide resolved
Copy link
Collaborator

@ahnpnl ahnpnl left a comment

Choose a reason for hiding this comment

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

thanks!

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.

2 participants