chore(test): 移除各包中不存在的单测

This commit is contained in:
力皓 2021-06-15 10:03:31 +08:00
parent 144dd0801d
commit 4134dad92e
11 changed files with 12 additions and 26 deletions

View File

@ -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})/`,

View File

@ -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",

View File

@ -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": {

View File

@ -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",

View File

@ -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",

View File

@ -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"

View File

@ -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"
}

View File

@ -2,7 +2,7 @@
exports[`React Renderer render basic case 1`] = `
<div
className="lce-page luna-test"
className="lce-page lce-test"
style={
Object {
"padding": "0 5px 0 5px",
@ -654,7 +654,7 @@ exports[`React Renderer render basic case 1`] = `
"left": 0,
"overflow": "hidden",
"position": "sticky",
"width": -2,
"width": -1,
}
}
>

View File

@ -11,8 +11,6 @@
],
"scripts": {
"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"
},
"dependencies": {

View File

@ -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-datasource-types": "^1.0.21",

View File

@ -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-types": "1.0.54",