diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-06-03 11:58:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-03 11:58:21 +0200 |
| commit | 6d0a9504406524957b351aee748d9f5c8a84c299 (patch) | |
| tree | 1b859015ef5e52b2c7c4e7521f428fb2215df21d /tsconfig.json | |
| parent | a8af53c118478e6ed68975c32cc1202b7c7b798e (diff) | |
| parent | fc7a6e98268d34f313d79c817e38c09ad6cde960 (diff) | |
test: add end to end tests (#19)
In addition to Jest tests, I configure Cypress to test some pages and features.
I also fix some Jest errors due to images import.
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"] } |
