-
-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e816866
commit 3f632f2
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,18 @@ describe(`vue-tsc`, () => { | |
|
||
test(`TypeScript - Stable`, () => { | ||
expect( | ||
getTscOutput('stable') | ||
getTscOutput('stable').sort() | ||
).toMatchInlineSnapshot(` | ||
Check failure on line 10 in packages/tsc/tests/typecheck.spec.ts GitHub Actions / build (18, macos-latest)packages/tsc/tests/typecheck.spec.ts > vue-tsc > TypeScript - Stable
Check failure on line 10 in packages/tsc/tests/typecheck.spec.ts GitHub Actions / build (18, ubuntu-latest)packages/tsc/tests/typecheck.spec.ts > vue-tsc > TypeScript - Stable
|
||
[ | ||
"test-workspace/tsc/failureFixtures/#3632/both.vue(3,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#3632/both.vue(7,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#3632/script.vue(3,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#3632/scriptSetup.vue(3,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#5071/withoutScript.vue(2,26): error TS1005: ';' expected.", | ||
"test-workspace/tsc/failureFixtures/#5071/withScript.vue(1,19): error TS1005: ';' expected.", | ||
"test-workspace/tsc/failureFixtures/#5071/withoutScript.vue(2,26): error TS1005: ';' expected.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.", | ||
] | ||
`); | ||
}); | ||
|
@@ -27,18 +27,18 @@ describe(`vue-tsc`, () => { | |
|
||
test.skipIf(!isUpdateEvent && isGithubActions)(`TypeScript - Next`, () => { | ||
expect( | ||
getTscOutput('next') | ||
getTscOutput('next').sort() | ||
).toMatchInlineSnapshot(` | ||
[ | ||
"test-workspace/tsc/failureFixtures/#3632/both.vue(3,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#3632/both.vue(7,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#3632/script.vue(3,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#3632/scriptSetup.vue(3,1): error TS1109: Expression expected.", | ||
"test-workspace/tsc/failureFixtures/#5071/withoutScript.vue(2,26): error TS1005: ';' expected.", | ||
"test-workspace/tsc/failureFixtures/#5071/withScript.vue(1,19): error TS1005: ';' expected.", | ||
"test-workspace/tsc/failureFixtures/#5071/withoutScript.vue(2,26): error TS1005: ';' expected.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.", | ||
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.", | ||
] | ||
`); | ||
}); | ||
|