Files
create-react-app/packages/react-scripts
Stephen John Sorensen aaa615f6fa Add testURL to jest config (#1120)
In my tests, jsdom was throwing a "SecurityError" at HistoryImpl._sharedPushAndReplaceState (node_modules/react-scripts/node_modules/jsdom/lib/jsdom/living/window/History-impl.js:87:15)

This happens because document.URL defaults to "about:blank". Unfortunately, if you interact with the History object it tries and fails to parse the URL, causing a "SecurityError" to be thrown. Setting the default URL to "http://localhost" fixes this issue.
2016-12-05 20:06:47 +00:00
..
2016-09-19 10:52:19 +03:00
2016-12-05 20:06:47 +00:00
2016-12-04 11:04:12 +02:00
2016-09-23 13:00:11 +01:00

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation: