diff --git a/packages/eds-core-react/tsconfig.build.json b/packages/eds-core-react/tsconfig.build.json index 4f3ee3ef93..95fb6d5b52 100644 --- a/packages/eds-core-react/tsconfig.build.json +++ b/packages/eds-core-react/tsconfig.build.json @@ -1,8 +1,10 @@ { "extends": "./tsconfig.json", "exclude": [ + "./jest.setup.ts", "src/**/*.stories.ts*", "src/**/*.test.ts*", - "src/stories", + "src/test/", + "src/stories" ] } diff --git a/packages/eds-core-react/tsconfig.json b/packages/eds-core-react/tsconfig.json index d86f74e228..1eb105432e 100644 --- a/packages/eds-core-react/tsconfig.json +++ b/packages/eds-core-react/tsconfig.json @@ -10,6 +10,6 @@ "baseUrl": ".", "types": ["@testing-library/jest-dom"] }, - "include": ["./src/**/*"], + "include": ["./src/**/*", "./jest.setup.ts"], "exclude": ["node_modules"] }