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

Support for jest setupFilesAfterEnv and clearMocks options #24

Open
jehy opened this issue Jan 30, 2020 · 0 comments
Open

Support for jest setupFilesAfterEnv and clearMocks options #24

jehy opened this issue Jan 30, 2020 · 0 comments

Comments

@jehy
Copy link

jehy commented Jan 30, 2020

jest has many cool options, and two most useful are setupFilesAfterEnv and clearMocks.

As far as I noticed, jest-runner-mocha does not implement those, and should be done inside runner like in native jest runner (jasmine2):

https://github.com/facebook/jest/blob/master/packages/jest-jasmine2/src/index.ts

There are also other cool features like useFakeTimers and resetModules.

it would be great to implement those.

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

No branches or pull requests

1 participant