Skip to content

Commit ad405ef

Browse files
committed
jest file too many comments removed
1 parent 8420477 commit ad405ef

File tree

1 file changed

+0
-182
lines changed

1 file changed

+0
-182
lines changed

jest.config.js

Lines changed: 0 additions & 182 deletions
Original file line numberDiff line numberDiff line change
@@ -1,194 +1,12 @@
1-
// For a detailed explanation regarding each configuration property, visit:
2-
// https://jestjs.io/docs/en/configuration.html
3-
41
module.exports = {
52
moduleDirectories: [
63
'node_modules',
74
__dirname
85
],
9-
// All imported modules in your tests should be mocked automatically
10-
// automock: false,
11-
12-
// Stop running tests after `n` failures
13-
// bail: 0,
14-
15-
// Respect "browser" field in package.json when resolving modules
16-
// browser: false,
17-
18-
// The directory where Jest should store its cached dependency information
19-
// cacheDirectory: "/private/var/folders/v_/w_bhb7rd3sz9pydfllxc4x9r0000gn/T/jest_dx",
20-
21-
// Automatically clear mock calls and instances between every test
226
clearMocks: true,
23-
24-
// Indicates whether the coverage information should be collected while executing the test
25-
// collectCoverage: false,
26-
27-
// An array of glob patterns indicating a set of files for which coverage information should be collected
28-
// collectCoverageFrom: undefined,
29-
30-
// The directory where Jest should output its coverage files
317
coverageDirectory: "coverage",
32-
33-
// An array of regexp pattern strings used to skip coverage collection
34-
// coveragePathIgnorePatterns: [
35-
// "/node_modules/"
36-
// ],
37-
38-
// A list of reporter names that Jest uses when writing coverage reports
39-
// coverageReporters: [
40-
// "json",
41-
// "text",
42-
// "lcov",
43-
// "clover"
44-
// ],
45-
46-
// An object that configures minimum threshold enforcement for coverage results
47-
// coverageThreshold: undefined,
48-
49-
// A path to a custom dependency extractor
50-
// dependencyExtractor: undefined,
51-
52-
// Make calling deprecated APIs throw helpful error messages
53-
// errorOnDeprecated: false,
54-
55-
// Force coverage collection from ignored files using an array of glob patterns
56-
// forceCoverageMatch: [],
57-
58-
// A path to a module which exports an async function that is triggered once before all test suites
59-
// globalSetup: undefined,
60-
61-
// A path to a module which exports an async function that is triggered once after all test suites
62-
// globalTeardown: undefined,
63-
64-
// A set of global variables that need to be available in all test environments
65-
// globals: {},
66-
67-
// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
68-
// maxWorkers: "50%",
69-
70-
// An array of directory names to be searched recursively up from the requiring module's location
71-
// moduleDirectories: [
72-
// "node_modules"
73-
// ],
74-
75-
// An array of file extensions your modules use
76-
// moduleFileExtensions: [
77-
// "js",
78-
// "json",
79-
// "jsx",
80-
// "ts",
81-
// "tsx",
82-
// "node"
83-
// ],
84-
85-
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
868
moduleNameMapper: {
879
"\\.(css|less|scss)$": "identity-obj-proxy"
8810
},
89-
90-
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
91-
// modulePathIgnorePatterns: [],
92-
93-
// Activates notifications for test results
94-
// notify: false,
95-
96-
// An enum that specifies notification mode. Requires { notify: true }
97-
// notifyMode: "failure-change",
98-
99-
// A preset that is used as a base for Jest's configuration
100-
// preset: undefined,
101-
102-
// Run tests from one or more projects
103-
// projects: undefined,
104-
105-
// Use this configuration option to add custom reporters to Jest
106-
// reporters: undefined,
107-
108-
// Automatically reset mock state between every test
109-
// resetMocks: false,
110-
111-
// Reset the module registry before running each individual test
112-
// resetModules: false,
113-
114-
// A path to a custom resolver
115-
// resolver: undefined,
116-
117-
// Automatically restore mock state between every test
118-
// restoreMocks: false,
119-
120-
// The root directory that Jest should scan for tests and modules within
121-
// rootDir: undefined,
122-
123-
// A list of paths to directories that Jest should use to search for files in
124-
// roots: [
125-
// "<rootDir>"
126-
// ],
127-
128-
// Allows you to use a custom runner instead of Jest's default test runner
129-
// runner: "jest-runner",
130-
131-
// The paths to modules that run some code to configure or set up the testing environment before each test
132-
// setupFiles: [],
133-
134-
// A list of paths to modules that run some code to configure or set up the testing framework before each test
135-
// setupFilesAfterEnv: [],
136-
137-
// A list of paths to snapshot serializer modules Jest should use for snapshot testing
138-
// snapshotSerializers: [],
139-
140-
// The test environment that will be used for testing
14111
testEnvironment: "jsdom",
142-
143-
// Options that will be passed to the testEnvironment
144-
// testEnvironmentOptions: {},
145-
146-
// Adds a location field to test results
147-
// testLocationInResults: false,
148-
149-
// The glob patterns Jest uses to detect test files
150-
// testMatch: [
151-
// "**/__tests__/**/*.[jt]s?(x)",
152-
// "**/?(*.)+(spec|test).[tj]s?(x)"
153-
// ],
154-
155-
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
156-
// testPathIgnorePatterns: [
157-
// "/node_modules/"
158-
// ],
159-
160-
// The regexp pattern or array of patterns that Jest uses to detect test files
161-
// testRegex: [],
162-
163-
// This option allows the use of a custom results processor
164-
// testResultsProcessor: undefined,
165-
166-
// This option allows use of a custom test runner
167-
// testRunner: "jasmine2",
168-
169-
// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
170-
// testURL: "http://localhost",
171-
172-
// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
173-
// timers: "real",
174-
175-
// A map from regular expressions to paths to transformers
176-
// transform: undefined,
177-
178-
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
179-
// transformIgnorePatterns: [
180-
// "/node_modules/"
181-
// ],
182-
183-
// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
184-
// unmockedModulePathPatterns: undefined,
185-
186-
// Indicates whether each individual test should be reported during the run
187-
// verbose: undefined,
188-
189-
// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
190-
// watchPathIgnorePatterns: [],
191-
192-
// Whether to use watchman for file crawling
193-
// watchman: true,
19412
};

0 commit comments

Comments
 (0)