File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change 1
1
import type { Config } from '@jest/types' ;
2
2
3
- // module.exports = {
4
- // verbose: true,
5
- // setupFilesAfterEnv: ['./jest_setup/windowMock.js'],
6
- // testEnvironment: "jsdom",
7
- // preset: 'ts-jest/presets/js-with-ts',
8
- // moduleNameMapper: {
9
- // '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
10
- // '<rootDir>/jest_setup/fileMock.js',
11
- // '\\.(css|less|scss)$': '<rootDir>/jest_setup/styleMock.js',
12
- // },
13
- // collectCoverage: true,
14
- // // types: ["jest","node"],
15
- // };
16
-
17
- // Convert to TypeScript
18
- // Note: Configuring Jest to TypeScript following the docs seemed incorrect?
19
- // @jest /types is an npm package to use to create a typed Jest config
20
-
3
+ // describes the jest testing configuration for all test files
21
4
const config : Config . InitialOptions = {
22
5
verbose : true ,
23
6
setupFilesAfterEnv : [ './jest_setup/windowMock.js' ] ,
@@ -32,4 +15,4 @@ const config: Config.InitialOptions = {
32
15
collectCoverage : true ,
33
16
} ;
34
17
35
- export default config ;
18
+ export default config ;
You can’t perform that action at this time.
0 commit comments