33 * https://jestjs.io/docs/configuration
44 */
55
6- import type { Config } from 'jest' ;
6+ import type { Config } from 'jest' ;
77import nextJest from 'next/jest.js' ;
88
99const createJestConfig = nextJest ( {
1010 // Provide the path to your Next.js app to load next.config.js and .env files in your test environment
1111 dir : './' ,
12- } )
12+ } ) ;
1313
1414const config : Config = {
1515 // All imported modules in your tests should be mocked automatically
@@ -31,15 +31,15 @@ const config: Config = {
3131 // collectCoverageFrom: undefined,
3232
3333 // The directory where Jest should output its coverage files
34- coverageDirectory : " coverage" ,
34+ coverageDirectory : ' coverage' ,
3535
3636 // An array of regexp pattern strings used to skip coverage collection
3737 // coveragePathIgnorePatterns: [
3838 // "/node_modules/"
3939 // ],
4040
4141 // Indicates which provider should be used to instrument code for coverage
42- coverageProvider : "v8" ,
42+ coverageProvider : 'v8' ,
4343
4444 // A list of reporter names that Jest uses when writing coverage reports
4545 // coverageReporters: [
@@ -152,7 +152,7 @@ const config: Config = {
152152 // snapshotSerializers: [],
153153
154154 // The test environment that will be used for testing
155- testEnvironment : " jsdom" ,
155+ testEnvironment : ' jsdom' ,
156156
157157 // Options that will be passed to the testEnvironment
158158 // testEnvironmentOptions: {},
0 commit comments