test(no-deprecated-slot-attribute): make tests more strict (#2880) #1981
Annotations
2 errors
Test
Process completed with exit code 1.
|
Test:
tests/lib/utils/ts-utils/index/get-component-emits.js#L120
AssertionError:
[{"type":"unknown","name":null}]
===
[{"type":"infer-type","name":"a"},{"type":"infer-type","name":"b"},{"type":"infer-type","name":"c"}]
- Expected
+ Received
[
{
- "name": "a",
- "type": "infer-type",
- },
- {
- "name": "b",
- "type": "infer-type",
- },
- {
- "name": "c",
- "type": "infer-type",
+ "name": null,
+ "type": "unknown",
},
]
❯ tests/lib/utils/ts-utils/index/get-component-emits.js:120:14
|
Loading