diff --git a/packages/designer/jest.config.js b/packages/designer/jest.config.js index 3703fedbe..1a6063f1a 100644 --- a/packages/designer/jest.config.js +++ b/packages/designer/jest.config.js @@ -6,7 +6,7 @@ module.exports = { // // '^.+\\.(ts|tsx)$': 'ts-jest', // // '^.+\\.(js|jsx)$': 'babel-jest', // }, - // testMatch: ['**/node.modify.test.ts'], + // testMatch: ['**/node.add.test.ts'], // testMatch: ['(/tests?/.*(test))\\.[jt]s$'], transformIgnorePatterns: [ `/node_modules/(?!${esModules})/`, diff --git a/packages/editor-skeleton/package.json b/packages/editor-skeleton/package.json index 5b2715764..7362a1234 100644 --- a/packages/editor-skeleton/package.json +++ b/packages/editor-skeleton/package.json @@ -10,9 +10,7 @@ "es" ], "scripts": { - "build": "build-scripts build --skip-demo", - "test": "ava", - "test:snapshot": "ava --update-snapshots" + "build": "build-scripts build --skip-demo" }, "keywords": [ "lowcode", diff --git a/packages/engine/package.json b/packages/engine/package.json index 725982e2c..9f19f7488 100644 --- a/packages/engine/package.json +++ b/packages/engine/package.json @@ -14,7 +14,7 @@ "version:update": "node ./scripts/version.js", "build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build --skip-demo", "cloud-build": "build-scripts build --config build.cloud.json && tnpm run version:update", - "test": "build-scripts test --config build.test.json" + "test": "build-scripts test --config build.test.json --jest-passWithNoTests" }, "license": "MIT", "dependencies": { diff --git a/packages/plugin-designer/package.json b/packages/plugin-designer/package.json index 4cebfc395..2e2bbe68b 100644 --- a/packages/plugin-designer/package.json +++ b/packages/plugin-designer/package.json @@ -10,9 +10,7 @@ "module": "es/index.js", "stylePath": "style.js", "scripts": { - "build": "build-scripts build --skip-demo", - "test": "ava", - "test:snapshot": "ava --update-snapshots" + "build": "build-scripts build --skip-demo" }, "keywords": [ "lowcode", diff --git a/packages/plugin-outline-pane/package.json b/packages/plugin-outline-pane/package.json index 3861e2f0d..973c33853 100644 --- a/packages/plugin-outline-pane/package.json +++ b/packages/plugin-outline-pane/package.json @@ -9,9 +9,7 @@ "main": "lib/index.js", "module": "es/index.js", "scripts": { - "build": "build-scripts build --skip-demo", - "test": "ava", - "test:snapshot": "ava --update-snapshots" + "build": "build-scripts build --skip-demo" }, "dependencies": { "@ali/lowcode-designer": "1.0.54", diff --git a/packages/rax-renderer/package.json b/packages/rax-renderer/package.json index 1a417311d..01e00ac59 100644 --- a/packages/rax-renderer/package.json +++ b/packages/rax-renderer/package.json @@ -3,7 +3,7 @@ "version": "1.0.54", "description": "Rax renderer for Ali lowCode engine", "main": "lib/index.js", - "module": "lib/index.js", + "module": "es/index.js", "miniappConfig": { "main": "lib/miniapp/index", "main:wechat": "lib/wechat-miniprogram/index" diff --git a/packages/rax-simulator-renderer/package.json b/packages/rax-simulator-renderer/package.json index 82cf500e3..48433fd76 100644 --- a/packages/rax-simulator-renderer/package.json +++ b/packages/rax-simulator-renderer/package.json @@ -8,9 +8,7 @@ "files": [], "scripts": { "build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build", - "cloud-build": "build-scripts build --skip-demo", - "test": "ava", - "test:snapshot": "ava --update-snapshots" + "cloud-build": "build-scripts build --skip-demo" }, "dependencies": { "@ali/lowcode-designer": "1.0.54", @@ -57,6 +55,6 @@ "publishConfig": { "registry": "https://registry.npm.alibaba-inc.com" }, - "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.49/build/index.html", + "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.54/build/index.html", "gitHead": "3bfd7df92985ec6c9d2ccb8ba95d7b0829fa2b1d" } diff --git a/packages/react-renderer/tests/__snapshots__/index.test.tsx.snap b/packages/react-renderer/tests/__snapshots__/index.test.tsx.snap index 90d2f6a5d..7a4d4b365 100644 --- a/packages/react-renderer/tests/__snapshots__/index.test.tsx.snap +++ b/packages/react-renderer/tests/__snapshots__/index.test.tsx.snap @@ -2,7 +2,7 @@ exports[`React Renderer render basic case 1`] = `