From 6c03a60983c036616d77c51c23e0d82a0550d4d5 Mon Sep 17 00:00:00 2001 From: Pavol Hejny Date: Mon, 13 Sep 2021 11:35:48 +0200 Subject: [PATCH] Jest not looking at spec files --- jestconfig.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jestconfig.json b/jestconfig.json index f71be82..dcf4aa8 100644 --- a/jestconfig.json +++ b/jestconfig.json @@ -1,9 +1,9 @@ { "transform": { - "^.+\\.(t|j)sx?$": "ts-jest" + "^.+\\.(t|j)sx?$": "ts-jest" }, - "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", + "testRegex": "(/__tests__/.*|(\\.|/)(test))\\.(jsx?|tsx?)$", "moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"], "coverageDirectory": "./coverage/", "collectCoverage": true - } \ No newline at end of file +}