Skip to content

Commit fd25506

Browse files
authored
Update jest.config.ts
1 parent 419ec37 commit fd25506

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

jest.config.ts

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
import 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
214
const 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;

0 commit comments

Comments
 (0)