support hasnot layout #232
CICD.yml
on: push
DocBuild
18s
Publish
0s
DocDeploy
0s
Annotations
8 errors and 1 warning
test/components/Alert.test.ts > showAlert > should display an error alert:
test/components/Alert.test.ts#L13
TypeError: Cannot read properties of undefined (reading 'ERROR')
❯ test/components/Alert.test.ts:13:45
|
test/components/Alert.test.ts > showAlert > should display a warning alert:
test/components/Alert.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'WARNING')
❯ test/components/Alert.test.ts:22:47
|
test/components/Alert.test.ts > showAlert > should display an info alert:
test/components/Alert.test.ts#L31
TypeError: Cannot read properties of undefined (reading 'INFO')
❯ test/components/Alert.test.ts:31:44
|
test/components/Alert.test.ts > showAlert > should display a success alert:
test/components/Alert.test.ts#L40
TypeError: Cannot read properties of undefined (reading 'SUCCESS')
❯ test/components/Alert.test.ts:40:47
|
test/components/Alert.test.ts > showAlert > should remove the alert after the specified time:
test/components/Alert.test.ts#L49
TypeError: Cannot read properties of undefined (reading 'INFO')
❯ test/components/Alert.test.ts:49:49
|
test/components/Alert.test.ts > showAlert > should attach the alert to a specific element:
test/components/Alert.test.ts#L60
TypeError: Cannot read properties of undefined (reading 'WARNING')
❯ test/components/Alert.test.ts:60:48
|
test/props/tableProps.test.ts > generateTableProps > should generate table props with provided values:
test/props/tableProps.test.ts#L326
AssertionError: expected [ { title: 'ID', …(14) }, …(11) ] to deeply equal [ { title: 'ID', …(12) }, …(11) ]
- Expected
+ Received
Array [
Object {
"categoryTitle": undefined,
"dataKind": "NUMBER",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-list-ordered-24",
"multiValue": false,
"name": "no",
"render": undefined,
"styles": Object {
"cursor": "pointer",
},
"title": "ID",
"useDict": false,
"width": 80,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "NUMBER",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
"hide": true,
"icon": "octicon-list-ordered-24",
"multiValue": false,
"name": "pno",
"render": undefined,
"styles": Object {},
"title": "父ID",
"useDict": false,
"width": 100,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "TEXT",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-file-24",
"multiValue": false,
"name": "name",
"render": undefined,
"styles": Object {},
"title": "名称",
"useDict": false,
"width": 300,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "TEXT",
+ "dictKind": "SELECT",
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-file-24",
"multiValue": false,
"name": "creator",
"render": undefined,
"styles": Object {},
"title": "创建人",
"useDict": true,
"width": 100,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "TEXT",
+ "dictKind": "SELECT",
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-file-24",
"multiValue": true,
"name": "stats",
"render": undefined,
"styles": Object {},
"title": "状态",
"useDict": true,
"width": 100,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "IMAGE",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-image-24",
"multiValue": false,
"name": "avatar",
"render": undefined,
"styles": Object {},
"title": "头像",
"useDict": false,
"width": 100,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "FILE",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-file-zip-24",
"multiValue": false,
"name": "attachment",
"render": undefined,
"styles": Object {},
"title": "附件",
"useDict": false,
"width": 100,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "DATETIME",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-calendar-24",
"multiValue": false,
"name": "planStartTime",
"render": undefined,
"styles": Object {},
"title": "计划开始时间",
"useDict": false,
"width": 100,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "DATETIME",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
"hide": false,
"icon": "octicon-calendar-24",
"multiValue": false,
"name": "planEndTime",
"render": undefined,
"styles": Object {},
"title": "计划结束时间",
"useDict": false,
"width": 100,
"wrap": false,
},
Object {
"categoryTitle": undefined,
"dataKind": "DATETIME",
+ "dictKind": undefined,
"fixed": false,
+ "fixedDictItems": undefined,
|
DocBuild
Process completed with exit code 1.
|
DocBuild
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|