From 9e8ef89514ac95eefeb7cf2118338bb41d9ddc72 Mon Sep 17 00:00:00 2001 From: ashfame Date: Tue, 10 Sep 2024 16:30:07 +0400 Subject: [PATCH] fix js tests on local --- jest.config.js => jest.config.cjs | 0 package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename jest.config.js => jest.config.cjs (100%) diff --git a/jest.config.js b/jest.config.cjs similarity index 100% rename from jest.config.js rename to jest.config.cjs diff --git a/package.json b/package.json index 4af37538..1649412b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint:js": "wp-scripts lint-js", "lint:style": "wp-scripts lint-style", "format": "wp-scripts format", - "test": "jest --config=jest.config.js", + "test": "jest --config=jest.config.cjs", "test:e2e:build": "wp-scripts build src/content/utils/dom.js --output-path=tests/e2e/build", "test:e2e": "npx playwright test tests/e2e/index.spec.js", "web-ext": "web-ext",