Skip to content

Commit af3a5ae

Browse files
committed
PR Review: Remove explicit dependency on jest-circus & modify docblock
1 parent 7d09c76 commit af3a5ae

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

Diff for: packages/react-error-overlay/src/__tests__/get-source-map.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
/**
2-
* @jest-environment jsdom
3-
*/
4-
51
/**
62
* Copyright (c) 2015-present, Facebook, Inc.
73
*
84
* This source code is licensed under the MIT license found in the
95
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @jest-environment jsdom
108
*/
119

1210
import { getSourceMap } from '../utils/getSourceMap';

Diff for: packages/react-scripts/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"html-webpack-plugin": "4.5.0",
6060
"identity-obj-proxy": "3.0.0",
6161
"jest": "27.0.0-next.6",
62-
"jest-circus": "27.0.0-next.6",
6362
"jest-resolve": "27.0.0-next.6",
6463
"jest-watch-typeahead": "0.6.1",
6564
"mini-css-extract-plugin": "0.11.3",

Diff for: packages/react-scripts/scripts/utils/createJestConfig.js

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ module.exports = (resolve, rootDir, isEjecting) => {
3939
'<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}',
4040
],
4141
testEnvironment: 'jsdom',
42-
testRunner: require.resolve('jest-circus/runner'),
4342
transform: {
4443
'^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': resolve(
4544
'config/jest/babelTransform.js'

0 commit comments

Comments
 (0)