Skip to content

Commit

Permalink
Fixed Linting Issues in jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rafidoth committed Dec 17, 2024
1 parent 8e66450 commit 98f7136
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default {
'!**/index.{js,ts}',
'!**/*.d.ts',
'!src/test/**',
'!vitest.config.ts',],
'!vitest.config.ts',
],
// setupFiles: ['react-app-polyfill/jsdom'],
setupFiles: ['whatwg-fetch'],
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
Expand Down Expand Up @@ -43,7 +44,7 @@ export default {
'\\.svg$': '<rootDir>/scripts/__mocks__/fileMock.js',
'^@pdfme/generator$': '<rootDir>/scripts/__mocks__/@pdfme/generator.ts',
'\\.module\\.css$': 'identity-obj-proxy',
'\\.(css|less|scss|sass)$': '<rootDir>/__mocks__/styleMock.ts',
'\\.(css|less|scss|sass)$': '<rootDir>/__mocks__/styleMock.ts',
},
moduleFileExtensions: [
'web.js',
Expand Down

0 comments on commit 98f7136

Please sign in to comment.