Fix incorrect regular expression in testRegex

The following file was also a regular expression that would match.
* appe2e-spec.ts
* appe2e-specxts
This commit is contained in:
onozaty
2023-12-28 16:48:51 +09:00
parent 0bd715469f
commit 17a8aa386e
+1 -1
View File
@@ -2,7 +2,7 @@
"moduleFileExtensions": ["js", "json", "ts"], "moduleFileExtensions": ["js", "json", "ts"],
"rootDir": ".", "rootDir": ".",
"testEnvironment": "node", "testEnvironment": "node",
"testRegex": ".e2e-spec.ts$", "testRegex": "\\.e2e-spec\\.ts$",
"transform": { "transform": {
"^.+\\.(t|j)s$": "ts-jest" "^.+\\.(t|j)s$": "ts-jest"
} }