This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch fix-jest
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit fde9fbdbc9809b509c13f3e1feb4b81788bb495b
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Wed Jan 31 01:23:14 2024 +0800

    fix(test): rename `jest.config.js` to `jest.config.cjs` to fix jest can't 
run
---
 package.json                                | 6 +++---
 test/ut/{jest.config.js => jest.config.cjs} | 0
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index 64345cde8..4d813d42a 100644
--- a/package.json
+++ b/package.json
@@ -52,9 +52,9 @@
     "release": "npm run build:lib && npm run build:i18n && npm run build && 
npm run build:esm && npm run build:extension && npm run build:ssr",
     "help": "node build/build.js --help",
     "test:visual": "node test/runTest/server.js",
-    "test": "npx jest --config test/ut/jest.config.js",
-    "test:single": "npx jest --config test/ut/jest.config.js --coverage=false 
-t",
-    "test:single:debug": "npx --node-arg=--inspect-brk jest --runInBand 
--config test/ut/jest.config.js --coverage=false -t",
+    "test": "npx jest --config test/ut/jest.config.cjs",
+    "test:single": "npx jest --config test/ut/jest.config.cjs --coverage=false 
-t",
+    "test:single:debug": "npx --node-arg=--inspect-brk jest --runInBand 
--config test/ut/jest.config.cjs --coverage=false -t",
     "test:dts": "node build/testDts.js",
     "mktest": "node test/build/mktest.js",
     "mktest:help": "node test/build/mktest.js -h",
diff --git a/test/ut/jest.config.js b/test/ut/jest.config.cjs
similarity index 100%
rename from test/ut/jest.config.js
rename to test/ut/jest.config.cjs


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to