diff --git a/tsconfig.json b/tsconfig.json index a576a03..130db2c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,8 @@ "ESNext" ], "types": [ - "vitest/globals" + "vitest/globals", + "@testing-library/jest-dom" ], "module": "ESNext", "skipLibCheck": true, diff --git a/tsconfig.prod.json b/tsconfig.prod.json index cfe0f5c..a829226 100644 --- a/tsconfig.prod.json +++ b/tsconfig.prod.json @@ -1,8 +1,9 @@ { "extends": "./tsconfig", "exclude": [ - "./src/__tests__/**", - "./src/__mocks__/**", - "./src/test-utils" + "./src/**/__tests__/**", + "./src/**/__mocks__/**", + "./src/test-utils/**", + "./src/**/*.test.{js,jsx,ts,tsx}" ] } \ No newline at end of file