Commit c81ded2
committed
test: update swc-plugin-component snapshots and fix SSR fixture expected failures
Update 148 swc-expected.js snapshots to match SWC plugin output format
(double quotes, compact indentation). Add swc-expected.* to .prettierignore
since these are auto-generated fixture outputs. Remove render-undefined and
render-bad-value from ssr-compiler expectedFailures since SSRv2 now handles
them correctly, and add ssrFiles config to separate SSRv2 output files
from SSRv1 engine-server snapshots.
Made-with: Cursor1 parent 0a64fab commit c81ded2
File tree
100 files changed
+1379
-1791
lines changed- packages/@lwc
- babel-plugin-component/src/__tests__/fixtures
- api-decorator
- @api-setter-on-one-class-member-should-not-conflict-with-@api-getter-on-another
- does-not-throw-error-if-property-name-is-data
- does-not-throw-if-property-name-prefixed-with-aria
- single-@api-getter-on-one-class-member-should-not-conflict-with-@api-setter-on-another
- transform-complex-attributes
- transform-nested-classes
- transform-pairs-of-setter-and-getter
- transforms-public-getters
- transforms-public-methods
- transforms-public-props
- w-9927596-public-getter-setter-with-duplicate-property
- w-9927596-public-property-with-duplicate-getter-setter
- component
- allow-to-remap-the-import-to-lightningelement
- allows-importing-supported-apis-from-@lwc-engine-core
- allows-importing-supported-apis-from-@lwc-engine-dom
- allows-importing-supported-apis-from-@lwc-engine-server
- camel-to-kebab-component-name
- component-feature-flag
- does-not-insert-render-method-when-extending-from-legacy-engine-element
- enable-synthetic-element-internals
- import-engine-default-and-named
- import-engine-star
- inject-render-method
- keep-the-render-method-if-present
- only-inject-render-in-the-exported-class
- decorators
- should-register-decorators-for-anonymous-class-declarations
- should-register-decorators-for-anonymous-class-expressions
- should-throw-if-a-decorator-is-dereferenced
- should-throw-if-a-decorator-is-used-as-a-member-expression
- should-throw-if-a-decorator-is-used-on-a-class
- should-throw-if-an-global-decorator-is-used-on-class-field
- should-throw-if-an-global-decorator-is-used-on-class-methods
- should-throw-when-api-decorator-was-not-imported-from-lwc
- should-throw-when-track-decorator-was-not-imported-from-lwc
- should-throw-when-wire-decorator-was-not-imported-from-lwc
- should-transform-decorators-on-classdeclaration-in-a-large-input-file
- should-transform-decorators-on-classexpression-in-a-large-input-file
- unnecessary-register-decorators
- latest
- should-not-register-decorators-if-anonymous-class-has-no-superclass
- should-not-register-decorators-if-named-class-has-no-superclass
- should-register-decorators-for-anonymous-class-that-extends-non-lightning-element
- should-register-decorators-for-named-class-that-extends-non-lightning-element
- v59
- should-register-decorators-for-anonymous-class-that-extends-non-lightning-element
- should-register-decorators-for-named-class-that-extends-non-lightning-element
- should-register-decorators-if-anonymous-class-has-no-superclass
- should-register-decorators-if-named-class-has-no-superclass
- dedupe-imports
- should-handle-an-alias-of-an-export
- should-handle-both-default-and-importing-the-entire-contents-for-a-module
- should-handle-multiple-aliases-of-the-same-export
- should-handle-multiple-defaults-of-the-same-export
- should-handle-the-simple-case
- should-support-importing-names-and-default-2
- should-support-importing-names-and-default
- should-support-importing-the-entire-contents-for-a-module
- dynamic-imports
- passthough-with-no-config
- test-custom-loader-multiple-imports
- test-custom-loader
- unchanged-dynamic-import-in-strict-mode
- implicit-explicit
- api-decorator
- mixin
- noop-implicit-export-const
- test-cmp-anonymous-class
- test-cmp-named-class-with-decorators
- wire
- import-scoped-stylesheet
- observed-fields
- should-add-observed-fields-in-class-expression
- should-be-added-to-the-registercomponentcall-when-a-field-is-not-decorated-with-@api-@track-or-@wire
- should-not-observe-changes-in-a-static-fields
- should-not-observe-changes-in-computed-fields
- should-not-process-reserved-words-as-field-when-decorated-with-@api-@track-or-@wire
- should-transform-export-default-that-is-not-a-class
- track-decorator
- transform-track-decorator-field
- transform-track-decorator-preserve-initial-value
- wire-decorator
- adapter-function-identifier-works
- adapter-member-expression-works
- basic-field
- basic-method
- config-ignores-method
- config-ignores-spread
- config-imported-values-works
- config-multiple-dynamic-params-works
- config-not-provided-works
- config-numeric-keys-works
- config-string-literal-keys-works
- decorating-multiple-props-works
- decorator-on-getter-alone-works
- decorator-on-getter-works
- decorator-on-setter-alone-works
- decorator-on-setter-works
- reactive-string-2-levels-works
- reactive-string-deep-chain-works
- reactive-string-with-empty-segment-works
- reactive-string-with-non-identifier-works
- ssr-compiler/src/__tests__
- fixtures
- render-bad-value
- render-undefined
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
100 files changed
+1379
-1791
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 17 | + | |
| 18 | + | |
25 | 19 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 20 | | |
32 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
33 | 26 | | |
34 | 27 | | |
Lines changed: 12 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
14 | 8 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 9 | | |
21 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
22 | 15 | | |
23 | 16 | | |
Lines changed: 12 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
14 | 8 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 9 | | |
21 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
22 | 15 | | |
23 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 18 | + | |
| 19 | + | |
26 | 20 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 21 | | |
33 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
34 | 27 | | |
35 | 28 | | |
Lines changed: 37 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
35 | 27 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
43 | 40 | | |
44 | 41 | | |
Lines changed: 25 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
19 | 7 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
31 | 13 | | |
32 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
33 | 28 | | |
34 | 29 | | |
0 commit comments