You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2024/01/30 17:26:00 UTC
(echarts) branch fix-jest created (now fde9fbdbc)
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a change to branch fix-jest
in repository https://gitbox.apache.org/repos/asf/echarts.git
at fde9fbdbc fix(test): rename `jest.config.js` to `jest.config.cjs` to fix jest can't run
This branch includes the following new commits:
new fde9fbdbc fix(test): rename `jest.config.js` to `jest.config.cjs` to fix jest can't run
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
(echarts) 01/01: fix(test): rename `jest.config.js` to `jest.config.cjs` to fix jest can't run
Posted by wa...@apache.org.
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 <yh...@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-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org