Skip to content

Load setupTests file at setupTestFramework stage - #846

Merged
gaearon merged 1 commit into
react:masterfrom
just-boris:setup-test-framework
Oct 5, 2016
Merged

Load setupTests file at setupTestFramework stage#846
gaearon merged 1 commit into
react:masterfrom
just-boris:setup-test-framework

Conversation

@just-boris

@just-borisjust-boris commented Oct 4, 2016

Copy link
Copy Markdown
Contributor

fixes#824

  • setupFiles now contains only polyfills
  • if src/setupTests.js file exists, it will be called after test framework initialization

@gaearongaearon added this to the 0.7.0 milestone Oct 5, 2016
@gaearon
gaearon merged commit 15c20f1 into react:masterOct 5, 2016
@gaearon

Copy link
Copy Markdown
Contributor

Thanks!

@just-boris
just-boris deleted the setup-test-framework branch October 5, 2016 12:01
kitze added a commit to kitze/custom-react-scripts that referenced this pull request Oct 6, 2016
…react-app
# By Dan Abramov (2) and others
# Via Dan Abramov
* 'master' of https://github.com/facebookincubator/create-react-app:
Correct a comment mistype in webpack production config (react#855)
load setupTests file at setupTestFramework stage (react#846)
Spell check (react#845)
Tweak readme
Update instructions on publishing to GitHub pages (react#841)
Make webpackHotDevClient support webpack 2 too (react#840)
Tweak eject output
Promote "React must be in scope" to be an error (react#822)
Fix script name to open chrome (react#831)
feiqitian pushed a commit to feiqitian/create-react-app that referenced this pull request Oct 25, 2016
maltestenzel pushed a commit to maltestenzel/custom-react-scripts that referenced this pull request Mar 7, 2018
…react-app
# By Dan Abramov (2) and others
# Via Dan Abramov
* 'master' of https://github.com/facebookincubator/create-react-app:
Correct a comment mistype in webpack production config (react#855)
load setupTests file at setupTestFramework stage (react#846)
Spell check (react#845)
Tweak readme
Update instructions on publishing to GitHub pages (react#841)
Make webpackHotDevClient support webpack 2 too (react#840)
Tweak eject output
Promote "React must be in scope" to be an error (react#822)
Fix script name to open chrome (react#831)
@locklockBot locked and limited conversation to collaborators Jan 22, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setupTestFrameworkScriptFile option is missing

3 participants

@just-boris@gaearon@facebook-github-bot