@@ -9,20 +9,23 @@ describe(`vue-tsc`, () => {
9
9
getTscOutput ( 'stable' )
10
10
) . toMatchInlineSnapshot ( `
11
11
[
12
- "test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance <Readonly<ExtractPropTypes <{}>> , { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
13
- "test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance <Readonly<ExtractPropTypes <{}>> , { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
12
+ "test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins <Readonly<{}> & Readonly <{}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.",
13
+ "test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins <Readonly<{}> & Readonly <{}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.",
14
14
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.",
15
15
]
16
16
` ) ;
17
17
} ) ;
18
18
19
- test . skipIf ( ! process . env . GITHUB_ACTIONS ) ( `TypeScript - Next` , ( ) => {
19
+ const isUpdateEvent = process . env . npm_lifecycle_event === 'test:update' ;
20
+ const isGithubActions = ! ! process . env . GITHUB_ACTIONS ;
21
+
22
+ test . skipIf ( ! isUpdateEvent && isGithubActions ) ( `TypeScript - Next` , ( ) => {
20
23
expect (
21
24
getTscOutput ( 'next' )
22
25
) . toMatchInlineSnapshot ( `
23
26
[
24
- "test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance <Readonly<ExtractPropTypes <{}>> , { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
25
- "test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstance <Readonly<ExtractPropTypes <{}>> , { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.",
27
+ "test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins <Readonly<{}> & Readonly <{}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.",
28
+ "test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins <Readonly<{}> & Readonly <{}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 17 more ..., {}>'.",
26
29
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.",
27
30
"test-workspace/tsc/passedFixtures/#3373/tsconfig.json(4,3): error TS5102: Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.
28
31
Use 'verbatimModuleSyntax' instead.",
0 commit comments