You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jest.config.js
+17-9Lines changed: 17 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,29 @@
4
4
*/
5
5
6
6
module.exports={
7
-
// A set of global variables that need to be available in all test environments
8
7
globals: {
9
-
// If defined, jest will only run tests on the function exported from this file (omit file extension) as defined in the directory '/challenges':
10
-
8
+
/*
9
+
If defined, jest will only run tests on the function exported from this file (omit file extension) as defined in the directory '/challenges':
10
+
*/
11
11
// testSingleChallenge: 'example',
12
12
13
-
// If defined, jest will only run test on the specified test case index. Will do nothing if the above property 'testSingleChallenge' is not also defined.
13
+
/*
14
+
If defined, jest will only run test on the specified test case index. Will do nothing if 'testSingleChallenge' is not also defined.
15
+
*/
16
+
// testSingleTestCase: 0,
17
+
18
+
/*
19
+
If set to 'true', only custom tests will run:
20
+
*/
21
+
runCustomTestsOnly: false,
14
22
15
-
// testSingleTestCase: 0
23
+
/*
24
+
If set to 'true', custom tests will not run. Will do nothing if 'runCustomTestsOnly' is set to 'true'
25
+
*/
26
+
skipCustomTests: true
16
27
},
17
28
18
-
// Automatically clear mock calls and instances between every test
19
29
clearMocks: true,
20
-
21
-
// Indicates which provider should be used to instrument code for coverage
0 commit comments