Skip to content

Commit

Permalink
🏷️ Fix typescript not resolving jest properly (#3182)
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvernes authored Dec 12, 2023
1 parent c517a39 commit 70fb086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/eds-core-react/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "./tsconfig.json",
"exclude": [
"./jest.setup.ts",
"src/**/*.stories.ts*",
"src/**/*.test.ts*",
"src/stories",
"src/test/",
"src/stories"
]
}
2 changes: 1 addition & 1 deletion packages/eds-core-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"baseUrl": ".",
"types": ["@testing-library/jest-dom"]
},
"include": ["./src/**/*"],
"include": ["./src/**/*", "./jest.setup.ts"],
"exclude": ["node_modules"]
}

0 comments on commit 70fb086

Please sign in to comment.