mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fix(crud): fix config for tesing lib inside the crud app
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
|
import '@testing-library/jest-dom';
|
||||||
import 'jest-preset-angular/setup-jest';
|
import 'jest-preset-angular/setup-jest';
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"types": ["jest", "node"]
|
"types": ["jest", "node", "@testing-library/jest-dom"]
|
||||||
},
|
},
|
||||||
"files": ["src/test-setup.ts"],
|
"files": ["src/test-setup.ts"],
|
||||||
"include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
|
"include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
|
||||||
|
|||||||
Reference in New Issue
Block a user