feat: 组件初始化 #17
test-and-deploy.yaml
on: push
Annotations
10 errors
Alert/Alert.test.tsx > Alert.vue > should render the alert with default props:
packages/components/Alert/Alert.test.tsx#L28
AssertionError: expected undefined to be 'xmark' // Object.is equality
- Expected:
"xmark"
+ Received:
undefined
❯ Alert/Alert.test.tsx:28:48
|
Alert/Alert.test.tsx > Alert.vue > should has the correct icon when props type is info:
packages/components/Alert/Alert.test.tsx#L63
AssertionError: expected undefined to be 'circle-info' // Object.is equality
- Expected:
"circle-info"
+ Received:
undefined
❯ Alert/Alert.test.tsx:63:48
|
Alert/Alert.test.tsx > Alert.vue > should has the correct icon when props type is success:
packages/components/Alert/Alert.test.tsx#L63
AssertionError: expected undefined to be 'check-circle' // Object.is equality
- Expected:
"check-circle"
+ Received:
undefined
❯ Alert/Alert.test.tsx:63:48
|
Alert/Alert.test.tsx > Alert.vue > should has the correct icon when props type is warning:
packages/components/Alert/Alert.test.tsx#L63
AssertionError: expected undefined to be 'circle-exclamation' // Object.is equality
- Expected:
"circle-exclamation"
+ Received:
undefined
❯ Alert/Alert.test.tsx:63:48
|
Alert/Alert.test.tsx > Alert.vue > should has the correct icon when props type is danger:
packages/components/Alert/Alert.test.tsx#L63
AssertionError: expected undefined to be 'circle-xmark' // Object.is equality
- Expected:
"circle-xmark"
+ Received:
undefined
❯ Alert/Alert.test.tsx:63:48
|
Alert/Alert.test.tsx > Alert.vue > should has the correct icon when props type is error:
packages/components/Alert/Alert.test.tsx#L63
AssertionError: expected undefined to be 'circle-xmark' // Object.is equality
- Expected:
"circle-xmark"
+ Received:
undefined
❯ Alert/Alert.test.tsx:63:48
|
Alert/Alert.test.tsx > Alert.vue > should has the correct icon when props type is non-compliance:
packages/components/Alert/Alert.test.tsx#L63
AssertionError: expected undefined to be 'circle-info' // Object.is equality
- Expected:
"circle-info"
+ Received:
undefined
❯ Alert/Alert.test.tsx:63:48
|
Alert/Alert.test.tsx > Alert.vue > should support centering text:
node_modules/.pnpm/@vue+test-utils@2.4.6/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call classes on an empty DOMWrapper.
❯ Object.classes [as get] ../../node_modules/.pnpm/@VUE+test-utils@2.4.6/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27
❯ Alert/Alert.test.tsx:112:25
|
Alert/Alert.test.tsx > Alert.vue > should toggle visibility when open and close methods are called:
node_modules/.pnpm/@vue+test-utils@2.4.6/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call attributes on an empty DOMWrapper.
❯ Object.get ../../node_modules/.pnpm/@VUE+test-utils@2.4.6/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27
❯ Alert/Alert.test.tsx:127:41
|
Collapse/Collapse.test.tsx > Collapse.vue > 测试基础结构以及对应文本:
packages/components/Collapse/Collapse.test.tsx#L59
AssertionError: expected +0 to be 3 // Object.is equality
- Expected
+ Received
- 3
+ 0
❯ Collapse/Collapse.test.tsx:59:32
|