diff --git a/jest.config.js b/jest.config.js index 33e1535..6eeb4ff 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,8 +1,9 @@ /** @type {import('ts-jest').JestConfigWithTsJest} **/ module.exports = { + collectCoverage: true, restoreMocks: true, testEnvironment: 'jsdom', transform: { - '^.+.(j|t)sx?$': ['ts-jest', {}] - } + '^.+.(j|t)sx?$': ['ts-jest', {}], + }, };