Skip to content

Commit

Permalink
fix(crud): fix config for tesing lib inside the crud app
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalaforge committed Oct 6, 2023
1 parent 8913ded commit 6c2da1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/crud/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import '@testing-library/jest-dom';
import 'jest-preset-angular/setup-jest';
2 changes: 1 addition & 1 deletion apps/crud/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
"types": ["jest", "node", "@testing-library/jest-dom"]
},
"files": ["src/test-setup.ts"],
"include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
Expand Down

0 comments on commit 6c2da1b

Please sign in to comment.