File tree 4 files changed +3
-2
lines changed
4 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
* of patent rights can be found in the PATENTS file in the same directory.
8
8
*/
9
9
10
- var createJestConfig = require ( './utils/create-jest-config ' ) ;
10
+ var createJestConfig = require ( './utils/createJestConfig ' ) ;
11
11
var fs = require ( 'fs' ) ;
12
12
var path = require ( 'path' ) ;
13
13
var prompt = require ( './utils/prompt' ) ;
Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ function addMiddleware(devServer) {
187
187
// - /index.html (served as HTML5 history API fallback)
188
188
// - /*.hot-update.json (WebpackDevServer uses this too for hot reloading)
189
189
// - /sockjs-node/* (WebpackDevServer uses this for hot reloading)
190
+ // Tip: use https://www.debuggex.com/ to visualize the regex
190
191
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 \/ ) ) .* $ / ;
191
192
devServer . use ( mayProxy ,
192
193
// Pass the scope regex both to Express and to the middleware for proxying
Original file line number Diff line number Diff line change 9
9
10
10
process . env . NODE_ENV = 'test' ;
11
11
12
- const createJestConfig = require ( './utils/create-jest-config ' ) ;
12
+ const createJestConfig = require ( './utils/createJestConfig ' ) ;
13
13
const jest = require ( 'jest' ) ;
14
14
const path = require ( 'path' ) ;
15
15
const paths = require ( '../config/paths' ) ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments