File tree Expand file tree Collapse file tree 5 files changed +3
-17
lines changed Expand file tree Collapse file tree 5 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 1818 - checkout
1919 - run : npm pack
2020 - run : E2E_TEST='true' npx create-react-app ~/kitchensink/test-kitchensink --scripts-version=/home/circleci/kitchensink/jpavon-react-scripts-ts-0.7.0.tgz --internal-testing-template=/home/circleci/kitchensink/fixtures/kitchensink
21- - run : cd ~/kitchensink/test-kitchensink && yarn test
21+ - run : cd ~/kitchensink/test-kitchensink && yarn test --maxWorkers=2
2222 - run : cd ~/kitchensink/test-kitchensink && yarn e2e:dev
2323 - run : cd ~/kitchensink/test-kitchensink && yarn e2e:build
2424
Original file line number Diff line number Diff line change 11{
2- "plugins" : [" babel-plugin-transform-es2015-modules-commonjs" ]
32}
Original file line number Diff line number Diff line change 11{
22 "dependencies" : {
3- "@babel/plugin-transform-modules-commonjs" : " 7.0.0-beta.46" ,
4- "@babel/polyfill" : " 7.0.0-beta.46" ,
5- "@babel/register" : " 7.0.0-beta.46" ,
63 "bootstrap" : " 4.1.0" ,
74 "normalize.css" : " 7.0.0" ,
85 "@types/prop-types" : " 15.5.3" ,
Original file line number Diff line number Diff line change @@ -17,16 +17,6 @@ async function load() {
1717 ] ;
1818}
1919
20- /* eslint-disable */
21- // Regression test for https://github.com/facebook/create-react-app/issues/3055
22- const x = async (
23- /* prettier-ignore */
24- y : void
25- ) => {
26- const z = await y ;
27- } ;
28- /* eslint-enable */
29-
3020export default class extends React . Component {
3121 static propTypes = {
3222 onReady : PropTypes . func . isRequired ,
Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ module.exports = function(
5050 if ( process . env . E2E_TEST === 'true' ) {
5151 appPackage . scripts = {
5252 ...appPackage . scripts ,
53- "e2e:dev:test" : "TEST_URL=http://localhost:3000 jest --config=./jest.e2e.config.js" ,
53+ "e2e:dev:test" : "TEST_URL=http://localhost:3000 jest --config=./jest.e2e.config.js --maxWorkers=2 " ,
5454 "e2e:dev" : "start-server-and-test start http-get://localhost:3000 e2e:dev:test" ,
5555 "serve" : "react-scripts-ts build && serve -s build" ,
56- "e2e:build:test" : "TEST_URL=http://localhost:5000 jest --config=./jest.e2e.config.js" ,
56+ "e2e:build:test" : "TEST_URL=http://localhost:5000 jest --config=./jest.e2e.config.js --maxWorkers=2 " ,
5757 "e2e:build" : "start-server-and-test serve http://localhost:5000 e2e:build:test"
5858 } ;
5959
You can’t perform that action at this time.
0 commit comments