mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-20 07:14:23 +00:00
chore(test): 移除各包中不存在的单测
This commit is contained in:
parent
f813bd026a
commit
f8f5742d0a
@ -6,7 +6,7 @@ module.exports = {
|
|||||||
// // '^.+\\.(ts|tsx)$': 'ts-jest',
|
// // '^.+\\.(ts|tsx)$': 'ts-jest',
|
||||||
// // '^.+\\.(js|jsx)$': 'babel-jest',
|
// // '^.+\\.(js|jsx)$': 'babel-jest',
|
||||||
// },
|
// },
|
||||||
// testMatch: ['**/node.modify.test.ts'],
|
// testMatch: ['**/node.add.test.ts'],
|
||||||
// testMatch: ['(/tests?/.*(test))\\.[jt]s$'],
|
// testMatch: ['(/tests?/.*(test))\\.[jt]s$'],
|
||||||
transformIgnorePatterns: [
|
transformIgnorePatterns: [
|
||||||
`/node_modules/(?!${esModules})/`,
|
`/node_modules/(?!${esModules})/`,
|
||||||
|
|||||||
@ -10,9 +10,7 @@
|
|||||||
"es"
|
"es"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "build-scripts build --skip-demo",
|
"build": "build-scripts build --skip-demo"
|
||||||
"test": "ava",
|
|
||||||
"test:snapshot": "ava --update-snapshots"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"lowcode",
|
"lowcode",
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
"version:update": "node ./scripts/version.js",
|
"version:update": "node ./scripts/version.js",
|
||||||
"build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build --skip-demo",
|
"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",
|
"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",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -10,9 +10,7 @@
|
|||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
"stylePath": "style.js",
|
"stylePath": "style.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "build-scripts build --skip-demo",
|
"build": "build-scripts build --skip-demo"
|
||||||
"test": "ava",
|
|
||||||
"test:snapshot": "ava --update-snapshots"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"lowcode",
|
"lowcode",
|
||||||
|
|||||||
@ -9,9 +9,7 @@
|
|||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "build-scripts build --skip-demo",
|
"build": "build-scripts build --skip-demo"
|
||||||
"test": "ava",
|
|
||||||
"test:snapshot": "ava --update-snapshots"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ali/lowcode-designer": "1.0.54",
|
"@ali/lowcode-designer": "1.0.54",
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"version": "1.0.54",
|
"version": "1.0.54",
|
||||||
"description": "Rax renderer for Ali lowCode engine",
|
"description": "Rax renderer for Ali lowCode engine",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "lib/index.js",
|
"module": "es/index.js",
|
||||||
"miniappConfig": {
|
"miniappConfig": {
|
||||||
"main": "lib/miniapp/index",
|
"main": "lib/miniapp/index",
|
||||||
"main:wechat": "lib/wechat-miniprogram/index"
|
"main:wechat": "lib/wechat-miniprogram/index"
|
||||||
|
|||||||
@ -8,9 +8,7 @@
|
|||||||
"files": [],
|
"files": [],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build",
|
"build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build",
|
||||||
"cloud-build": "build-scripts build --skip-demo",
|
"cloud-build": "build-scripts build --skip-demo"
|
||||||
"test": "ava",
|
|
||||||
"test:snapshot": "ava --update-snapshots"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ali/lowcode-designer": "1.0.54",
|
"@ali/lowcode-designer": "1.0.54",
|
||||||
@ -57,6 +55,6 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npm.alibaba-inc.com"
|
"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"
|
"gitHead": "3bfd7df92985ec6c9d2ccb8ba95d7b0829fa2b1d"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
exports[`React Renderer render basic case 1`] = `
|
exports[`React Renderer render basic case 1`] = `
|
||||||
<div
|
<div
|
||||||
className="lce-page luna-test"
|
className="lce-page lce-test"
|
||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"padding": "0 5px 0 5px",
|
"padding": "0 5px 0 5px",
|
||||||
@ -654,7 +654,7 @@ exports[`React Renderer render basic case 1`] = `
|
|||||||
"left": 0,
|
"left": 0,
|
||||||
"overflow": "hidden",
|
"overflow": "hidden",
|
||||||
"position": "sticky",
|
"position": "sticky",
|
||||||
"width": -2,
|
"width": -1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -11,8 +11,6 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"cloud-build": "build-scripts build --skip-demo",
|
"cloud-build": "build-scripts build --skip-demo",
|
||||||
"test": "ava",
|
|
||||||
"test:snapshot": "ava --update-snapshots",
|
|
||||||
"build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build --skip-demo"
|
"build": "NODE_OPTIONS=--max_old_space_size=8192 build-scripts build --skip-demo"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -9,9 +9,7 @@
|
|||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "build-scripts build --skip-demo",
|
"build": "build-scripts build --skip-demo"
|
||||||
"test": "ava",
|
|
||||||
"test:snapshot": "ava --update-snapshots"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ali/lowcode-datasource-types": "^1.0.21",
|
"@ali/lowcode-datasource-types": "^1.0.21",
|
||||||
|
|||||||
@ -9,9 +9,7 @@
|
|||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "build-scripts build --skip-demo",
|
"build": "build-scripts build --skip-demo"
|
||||||
"test": "ava",
|
|
||||||
"test:snapshot": "ava --update-snapshots"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ali/lowcode-types": "1.0.54",
|
"@ali/lowcode-types": "1.0.54",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user