Skip to content

test(no-deprecated-router-link-tag-prop): make tests more strict (#2882) #1977

test(no-deprecated-router-link-tag-prop): make tests more strict (#2882)

test(no-deprecated-router-link-tag-prop): make tests more strict (#2882) #1977

Triggered via push July 31, 2025 07:35
Status Failure
Total duration 6m 51s
Artifacts

CI.yml

on: push
Lint
41s
Lint
Test without ESLint Stylistic
2m 19s
Test without ESLint Stylistic
Test with typescript-eslint v7
2m 29s
Test with typescript-eslint v7
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Test with typescript-eslint v7
Process completed with exit code 1.
tests/lib/utils/ts-utils/index/get-component-emits.js > getComponentEmitsFromTypeDefineTypes > should return expected props with :<script setup lang="ts"> import { Emits } from './test' defineEmits<Emits>() </script>: 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"}] + actual - expected [ { + name: null, + type: 'unknown' - name: 'a', - type: 'infer-type' - }, - { - name: 'b', - type: 'infer-type' - }, - { - name: 'c', - type: 'infer-type' } ] - 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