diff --git a/package.json b/package.json index 64e78044..ae1dc1f9 100644 --- a/package.json +++ b/package.json @@ -117,6 +117,17 @@ "moduleNameMapper": { "\\.(css|less|scss|sass)$": "identity-obj-proxy", "\\.(gif|ttf|eot|svg|png)$": "/test/__mocks__/fileMock.js" - } + }, + "collectCoverageFrom": [ + "./src/components/*/*.{ts,tsx}", + "./src/hooks/*.{ts,tsx}", + "!./src/hooks/index.ts", + "!./node_modules/**", + "!./dist/**", + "!./stories/**", + "!/vite.config.ts", + "!./.storybook/**", + "!./coverage/**" + ] } }