File tree Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 77 * of patent rights can be found in the PATENTS file in the same directory.
88 */
99
10- var createJestConfig = require ( './utils/create-jest-config ' ) ;
10+ var createJestConfig = require ( './utils/createJestConfig ' ) ;
1111var fs = require ( 'fs' ) ;
1212var path = require ( 'path' ) ;
1313var prompt = require ( './utils/prompt' ) ;
Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ function addMiddleware(devServer) {
187187 // - /index.html (served as HTML5 history API fallback)
188188 // - /*.hot-update.json (WebpackDevServer uses this too for hot reloading)
189189 // - /sockjs-node/* (WebpackDevServer uses this for hot reloading)
190+ // Tip: use https://www.debuggex.com/ to visualize the regex
190191 var mayProxy = / ^ (? ! \/ ( i n d e x \. h t m l $ | .* \. h o t - u p d a t e \. j s o n $ | s o c k j s - n o d e \/ ) ) .* $ / ;
191192 devServer . use ( mayProxy ,
192193 // Pass the scope regex both to Express and to the middleware for proxying
Original file line number Diff line number Diff line change 99
1010process . env . NODE_ENV = 'test' ;
1111
12- const createJestConfig = require ( './utils/create-jest-config ' ) ;
12+ const createJestConfig = require ( './utils/createJestConfig ' ) ;
1313const jest = require ( 'jest' ) ;
1414const path = require ( 'path' ) ;
1515const paths = require ( '../config/paths' ) ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments