test: 适配 button 编译默认添加 hoverclass="button-hover" #237
Annotations
10 errors
packages/runtime-core/__tests__/errorHandling.spec.ts#L534
AssertionError: expected undefined to be Error: foo // Object.is equality
- Expected:
[Error: foo]
+ Received:
undefined
❯ packages/runtime-core/__tests__/errorHandling.spec.ts:534:25
|
packages/runtime-core/__tests__/hmr.spec.ts#L201
AssertionError: expected '<button hoverClass="button-hover"></b…' to be '<button></button><div>1</div>' // Object.is equality
- Expected
+ Received
- <button></button><div>1</div>
+ <button hoverClass="button-hover"></button><div>1</div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:201:34
|
packages/runtime-core/__tests__/hmr.spec.ts#L273
AssertionError: expected '<button hoverClass="button-hover"></b…' to be '<button></button><div>1</div>' // Object.is equality
- Expected
+ Received
- <button></button><div>1</div>
+ <button hoverClass="button-hover"></button><div>1</div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:273:34
|
packages/runtime-core/__tests__/hmr.spec.ts#L355
AssertionError: expected '<button hoverClass="button-hover"></b…' to be '<button></button><div>1</div>' // Object.is equality
- Expected
+ Received
- <button></button><div>1</div>
+ <button hoverClass="button-hover"></button><div>1</div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:355:34
|
packages/runtime-core/__tests__/hmr.spec.ts#L461
AssertionError: expected '<div><div>1</div><button hoverClass="…' to be '<div><div>1</div><button class="foo">…' // Object.is equality
- Expected
+ Received
- <div><div>1</div><button class="foo">++</button></div>
+ <div><div>1</div><button hoverClass="button-hover" class="foo">++</button></div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:461:34
|
packages/runtime-core/__tests__/hydration.spec.ts#L775
Error: Snapshot `SSR hydration > async component 1` mismatched
- Expected
+ Received
- "<!--[-->hello<button hoverClass="button-hover">hello!</button>world<!--]-->"
+ "<!--[-->hello<button hoverclass="button-hover">hello!</button>world<!--]-->"
❯ packages/runtime-core/__tests__/hydration.spec.ts:775:18
|
packages/runtime-dom/__tests__/createApp.spec.ts#L13
AssertionError: expected <g></g> to be an instance of SVGElement
❯ packages/runtime-dom/__tests__/createApp.spec.ts:13:30
|
packages/runtime-dom/__tests__/customizedBuiltIn.spec.ts#L14
AssertionError: expected [ 'button', undefined ] to match object [ 'button', { is: 'plastic-button' } ]
- Expected
+ Received
Array [
"button",
- Object {
- "is": "plastic-button",
- },
+ undefined,
]
❯ packages/runtime-dom/__tests__/customizedBuiltIn.spec.ts:14:41
|
packages/runtime-x/__tests__/modules-style-parser.spec.ts#L48
AssertionError: expected Map{} to deeply equal Map{ 'borderColor' => '#000000', …(2) }
- Expected
+ Received
Map {
- "borderColor" => "#000000",
- "borderStyle" => "none",
- "borderWidth" => "medium",
+ "border" => "",
}
❯ packages/runtime-x/__tests__/modules-style-parser.spec.ts:48:20
|
packages/runtime-x/__tests__/modules-style-parser.spec.ts#L60
AssertionError: expected Map{} to deeply equal Map{ …(2) }
- Expected
+ Received
Map {
- "backgroundColor" => "transparent",
- "backgroundImage" => "none",
+ "background" => "",
}
❯ packages/runtime-x/__tests__/modules-style-parser.spec.ts:60:20
|
This job failed
Loading