Skip to content

Commit 50c8359

Browse files
committed
upgrade deps
1 parent 22ed2ba commit 50c8359

File tree

4 files changed

+6356
-7484
lines changed

4 files changed

+6356
-7484
lines changed

jest.config.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
// The directory where Jest should store its cached dependency information
1414
// cacheDirectory: "/private/var/folders/mq/wc13nlwj4gdgcyshdy5j1hgr0000gn/T/jest_dx",
1515

16-
// Automatically clear mock calls, instances and results before every test
16+
// Automatically clear mock calls, instances, contexts and results before every test
1717
// clearMocks: false,
1818

1919
// Indicates whether the coverage information should be collected while executing the test
@@ -50,6 +50,11 @@ module.exports = {
5050
// Make calling deprecated APIs throw helpful error messages
5151
// errorOnDeprecated: false,
5252

53+
// The default configuration for fake timers
54+
// fakeTimers: {
55+
// "enableGlobally": false
56+
// },
57+
5358
// Force coverage collection from ignored files using an array of glob patterns
5459
// forceCoverageMatch: [],
5560

@@ -73,6 +78,8 @@ module.exports = {
7378
// An array of file extensions your modules use
7479
// moduleFileExtensions: [
7580
// "js",
81+
// "mjs",
82+
// "cjs",
7683
// "jsx",
7784
// "ts",
7885
// "tsx",
@@ -167,12 +174,6 @@ module.exports = {
167174
// This option allows use of a custom test runner
168175
// testRunner: "jest-circus/runner",
169176

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-
176177
// A map from regular expressions to paths to transformers
177178
// transform: undefined,
178179

0 commit comments

Comments
 (0)