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 11import type { Config } from '@jest/types' ;
22
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
214const config : Config . InitialOptions = {
225 verbose : true ,
236 setupFilesAfterEnv : [ './jest_setup/windowMock.js' ] ,
@@ -32,4 +15,4 @@ const config: Config.InitialOptions = {
3215 collectCoverage : true ,
3316} ;
3417
35- export default config ;
18+ export default config ;
You can’t perform that action at this time.
0 commit comments