fix: 样式测试兼容 #234
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#L185
AssertionError: expected '<button hoverClass="button-hover"></b…' to be '<button></button><div>0</div>' // Object.is equality
- Expected
+ Received
- <button></button><div>0</div>
+ <button hoverClass="button-hover"></button><div>0</div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:185:34
|
packages/runtime-core/__tests__/hmr.spec.ts#L255
AssertionError: expected '<button hoverClass="button-hover"></b…' to be '<button></button><div>0</div>' // Object.is equality
- Expected
+ Received
- <button></button><div>0</div>
+ <button hoverClass="button-hover"></button><div>0</div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:255:34
|
packages/runtime-core/__tests__/hmr.spec.ts#L333
AssertionError: expected '<button hoverClass="button-hover"></b…' to be '<button></button><div>0</div>' // Object.is equality
- Expected
+ Received
- <button></button><div>0</div>
+ <button hoverClass="button-hover"></button><div>0</div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:333:34
|
packages/runtime-core/__tests__/hmr.spec.ts#L439
AssertionError: expected '<div><div>0</div><button hoverClass="…' to be '<div><div>0</div><button>++</button><…' // Object.is equality
- Expected
+ Received
- <div><div>0</div><button>++</button></div>
+ <div><div>0</div><button hoverClass="button-hover">++</button></div>
❯ packages/runtime-core/__tests__/hmr.spec.ts:439:34
|
packages/runtime-core/__tests__/hydration.spec.ts#L775
Error: Snapshot `SSR hydration > async component 1` mismatched
- Expected
+ Received
- "<!--[-->hello<button>hello!</button>world<!--]-->"
+ "<!--[-->hello<button hoverclass="button-hover">hello!</button>world<!--]-->"
❯ packages/runtime-core/__tests__/hydration.spec.ts:775:18
|
packages/runtime-core/__tests__/rendererAttrsFallthrough.spec.ts#L670
AssertionError: expected '<!--hello--><button hoverclass="butto…' to be '<!--hello--><button class="foo"></but…' // Object.is equality
- Expected
+ Received
- <!--hello--><button class="foo"></button><!--world-->
+ <!--hello--><button hoverclass="button-hover" class="foo"></button><!--world-->
❯ packages/runtime-core/__tests__/rendererAttrsFallthrough.spec.ts:670:28
|
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
|
This job failed
Loading