-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Reduce singleton #3164
Reduce singleton #3164
Conversation
* Support custom platforms on jest-haste-map * Run prettier
This is great. It's ironic how we took a single file build of Jasmine, pretty-printed it and now we are turning it back into a set of modules. |
* [jest-jasmine2] Split `jasmine-light` over multiple files. * Don't wrap things that don't need to be wrapped. * Don't wrap things that don't need to be wrapped (again). * Lint. * [jest-jasmine2] Trim `jasmine` singleton. * Adding NHL to companies that use Jest (jestjs#3163) * Support custom platforms on jest-haste-map (jestjs#3162) * Support custom platforms on jest-haste-map * Run prettier * Rebase.
* [jest-jasmine2] Split `jasmine-light` over multiple files. * Don't wrap things that don't need to be wrapped. * Don't wrap things that don't need to be wrapped (again). * Lint. * [jest-jasmine2] Trim `jasmine` singleton. * Adding NHL to companies that use Jest (jestjs#3163) * Support custom platforms on jest-haste-map (jestjs#3162) * Support custom platforms on jest-haste-map * Run prettier * Rebase.
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. |
Summary
Builds on #3159.
Reduces the usage of the
j$
singleton and removes properties that are not used/not supported (CallTracker
,SpyStrategy
,isSpy
,createSpyObject
). It's not technically breaking, since they don't seem to have been documented, but I might want to be cautious.Test plan
All existing tests should pass.