@@ -13,7 +13,7 @@ module.exports = {
13
13
// The directory where Jest should store its cached dependency information
14
14
// cacheDirectory: "/private/var/folders/mq/wc13nlwj4gdgcyshdy5j1hgr0000gn/T/jest_dx",
15
15
16
- // Automatically clear mock calls, instances and results before every test
16
+ // Automatically clear mock calls, instances, contexts and results before every test
17
17
// clearMocks: false,
18
18
19
19
// Indicates whether the coverage information should be collected while executing the test
@@ -50,6 +50,11 @@ module.exports = {
50
50
// Make calling deprecated APIs throw helpful error messages
51
51
// errorOnDeprecated: false,
52
52
53
+ // The default configuration for fake timers
54
+ // fakeTimers: {
55
+ // "enableGlobally": false
56
+ // },
57
+
53
58
// Force coverage collection from ignored files using an array of glob patterns
54
59
// forceCoverageMatch: [],
55
60
@@ -73,6 +78,8 @@ module.exports = {
73
78
// An array of file extensions your modules use
74
79
// moduleFileExtensions: [
75
80
// "js",
81
+ // "mjs",
82
+ // "cjs",
76
83
// "jsx",
77
84
// "ts",
78
85
// "tsx",
@@ -167,12 +174,6 @@ module.exports = {
167
174
// This option allows use of a custom test runner
168
175
// testRunner: "jest-circus/runner",
169
176
170
- // This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
171
- // testURL: "http://localhost",
172
-
173
- // Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
174
- // timers: "real",
175
-
176
177
// A map from regular expressions to paths to transformers
177
178
// transform: undefined,
178
179
0 commit comments