diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-06-01 23:21:30 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-06-02 19:10:28 +0200 |
| commit | f7cc48495b085fe8f6cfa37e80e968d5b47639df (patch) | |
| tree | 1e43ee0095979a0009b521ef7cc2a0f069b132b3 /tsconfig.json | |
| parent | a8af53c118478e6ed68975c32cc1202b7c7b798e (diff) | |
test: install and configure cypress
I also configure Jest to avoid conflicts between Cypress and Jest.
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tsconfig.json b/tsconfig.json index 318ac6d..ffd05b7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,7 @@ "isolatedModules": true, "jsx": "preserve", "incremental": true, + "types": ["jest", "@testing-library/jest-dom"], "baseUrl": ".", "paths": { "@i18n/*": ["src/i18n/*"], @@ -23,7 +24,7 @@ "@pages/*": ["src/pages/*"], "@services/*": ["src/services/*"], "@styles/*": ["src/styles/*"], - "@test-utils": ["__tests__/utils/test-utils"], + "@tests/*": ["tests/*"], "@ts/*": ["src/ts/*"], "@utils/*": ["src/utils/*"] } @@ -34,5 +35,5 @@ "**/*.tsx", "src/utils/plugins/prism-color-scheme.js" ], - "exclude": ["node_modules"] + "exclude": ["node_modules", "tests/cypress/", "cypress.config.js"] } |
