We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b629102 commit 816c36aCopy full SHA for 816c36a
example-project/vue-app-broken/tests/type.test.ts
@@ -24,7 +24,9 @@ describe('type check', () => {
24
})
25
});
26
27
- const typeErrors = result.split('\n').filter((line) => line.startsWith('src/App.vue'))
+ const typeErrors = result.split('\n')
28
+ .map((line) => line.trim())
29
+ .filter((line) => line.startsWith('src/App.vue'))
30
expect(typeErrors).toMatchInlineSnapshot(`
31
[
32
"src/App.vue(7,5): error TS2322: Type 'string' is not assignable to type 'string[]'.",
0 commit comments