fix(crud): fix config for tesing lib inside the crud app

This commit is contained in:
thomas
2023-10-06 16:28:25 +02:00
parent 8913dedf8a
commit 6c2da1bcde
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +1,2 @@
import '@testing-library/jest-dom';
import 'jest-preset-angular/setup-jest';

View File

@@ -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"]