Commit 5304f4e
authored
test(engine-server): clean up fixture tests (#5219)
* test(engine-server): remove `feature` feature
it's unused
* chore: remove feature from types
* chore(tests): remove unused exports from tests
* chore: rename x/test modules to x/static
* chore: use static x-test for root fixture component
tag name (x-test) may not match directory name of root component
* chore: remove tag name that is no longer used
* refactor(test): destructure!
* chore: `fixture-test` feels better than `x-test` to make it more clear it's special1 parent 66b4373 commit 5304f4e
File tree
677 files changed
+660
-1372
lines changed- packages/@lwc
- engine-server/src/__tests__
- fixtures
- adjacent-text-nodes
- preserve-comments-off
- comments-at-end
- comments-then-element
- deep-for-each-with-rendered-item
- deep-for-each
- deep-iterator
- deep2
- deep
- emptier
- empty1
- empty2
- empty3
- empty
- html-escaping-single
- html-escaping
- if-as-sibling
- just-comments
- lwcIf-as-sibling
- nonempty-dynamic
- nonempty-literals-outside
- nonempty1
- nonempty2
- nonempty3
- nonempty
- text-comment-text-comment
- preserve-comments-on
- comments-then-element
- emptier-with-text-comment-text
- emptier
- empty copy
- just-comments
- preserve-comments2
- preserve-comments3
- preserve-comments
- api
- decorated-getter
- decorated-setter-getter
- decorated-setter
- inherited
- property
- attribute-and-class-modify
- attribute-aria-modify
- attribute-aria
- dynamic
- static
- attribute-boolean-expr
- attribute-boolean
- attribute-class
- unstyled
- array
- child
- component
- dynamic
- object
- static
- with-scoped-styles-only-in-child
- dynamic
- static
- with-scoped-styles-only-in-parent
- dynamic
- static
- with-scoped-styles
- dynamic
- static
- attribute-component-aria
- attribute-component-global-html
- attribute-dynamic-escape
- attribute-dynamic-with-scoped-css
- attribute-dynamic
- attribute-empty-string
- attribute-global-html
- as-component-prop
- undeclared
- with-@api
- without-@api
- basic
- attribute-live-bindings
- attribute-modify-uppercase
- attribute-namespace
- attribute-null
- attribute-scoped-id
- attribute-static
- attribute-style
- basic
- dynamic
- attributes-aria
- barrel-lwc-exports
- export-all-alias
- export-all
- export-named
- comments-basic
- comments-foreach
- comments-if
- comments-slot
- comments-text-preserve-off
- comments-text-preserve
- component
- computed
- context-deep
- context-installation-on-non-element
- context-nested
- context-no-provider
- context-shadowed
- context-simple-method
- context-simple-setter
- context-simple
- context-slotted
- light
- scoped
- shadow
- custom-styles-with-newlines
- decorator-api
- deeply-nested
- delegates-focus
- directive-external
- duplicate-slots-in-template
- light
- shadow
- dynamic-components
- basic
- modules/x
- dynamic
- static
- invalid-ctor-function
- invalid-ctor
- mixed
- modules/x
- dynamic
- static
- no-ctor
- scoped-styles
- slots
- light-fallback
- modules/x
- dynamic
- static
- light
- modules/x
- dynamic
- static
- scoped-slots
- modules/x
- dynamic
- static
- shadow
- modules/x
- dynamic
- static
- dynamic-imports/basic
- dynamic-slots
- empty-text-with-comments-non-static-optimized
- exports
- component-as-default
- default-class-named
- default-class-unnamed
- default-identifier
- face-callback
- for-each-block
- basic
- child-nested
- item-and-index
- nested
- static-content
- getter-class-list-noop
- getter-class-list
- getter-is-connected
- global-html-attributes
- host-mutate-in-connected-callback
- host-mutate-in-render
- if-block
- if-conditional-slot-content
- if-conditional-slot
- if-custom-element-child
- if-element-child
- if-true-if-false
- if-true-if-true
- import-lwc-from-helper
- inner-outer-html
- iterator-block
- basic
- missing-value
- multiple
- variables
- known-boolean-attributes
- correct-tag-attr-pair
- boolean-true
- dynamic
- empty-string
- invalid-string
- string-false-uppercase
- string-true-uppercase
- default-def-html-attributes
- dynamic
- static-on-component
- static
- incorrect-tag-attr-pair
- dynamic
- static
- input
- dynamic
- static
- spellcheck
- lifecycle-hooks
- light-dom-multiple
- light-dom-scoped-styles-render
- light-dom-scoped-styles
- light-dom-styles-dir-host
- light-dom
- lwc-dom-manual
- lwc-dynamic
- lwc-if-else-if-else-empty
- lwc-if-else-if-else
- lwc-if-else-if
- lwc-if-else
- lwc-if-no-content
- lwc-if
- lwc-inner-html
- method-get-attribute
- method-remove-attribute
- method-set-attribute
- methods-noop
- methods-unsupported
- no-boundary-protection-basic
- no-boundary-protection-child
- no-boundary-protection-deep-child
- no-boundary-protection-slotted
- no-dup-styles
- no-template
- non-lwc-class
- overwrite-properties-template
- overwrite-properties
- parent-child-connected-callback
- prohibited-variable-name
- read-only-props
- basic
- dynamic-child
- pseudo-attribute
- reflection
- attr-to-prop
- prop-to-attr
- rehydration
- render-correct-tags
- render-dynamic-value
- render-mode-mismatch
- default-template-light-component
- default-template-shadow-component
- light-template-default-component
- light-template-shadow-component
- shadow-template-default-component
- shadow-template-light-component
- render-with-unused-default-template
- reordered-duplicate-nonexistent-slots
- light
- shadow
- reserved-keywords
- scoped-slots
- advanced
- basic
- deep-different-variable-names-attr-value
- deep-different-variable-names
- deep
- default-slot
- expression
- for-each
- mixed-with-light-dom-slots-inside-2
- mixed-with-light-dom-slots-inside-3
- mixed-with-light-dom-slots-inside
- mixed-with-light-dom-slots-outside-2
- mixed-with-light-dom-slots-outside
- named-slot
- same-var-name-in-child-and-scoped-slot
- same-variable-used-outside
- undefined-var-name-in-child-and-scoped-slot
- scoped-styles-with-existing-class
- shadow-dom-styles-dir-host
- slot-forwarding
- scoped-slots
- slots
- dangling-component
- dangling
- light
- mixed
- shadow
- slot-not-at-top-level
- advanced
- ifTrue
- light
- shadow
- lwcIf
- light
- shadow
- element
- light
- shadow
- external
- light
- shadow
- ifTrue
- light
- shadow
- lwcIf-inside-slotted-element
- light
- shadow
- lwcIf-inside-slot
- light
- shadow
- lwcIf
- light
- shadow
- nested-elements
- ifTrue
- light
- shadow
- lwcIf
- light
- shadow
- with-adjacent-text-nodes
- if-as-sibling
- light
- shadow
- if
- light
- shadow
- lwcIf-as-sibling
- light
- shadow
- lwcIf
- light
- shadow
- slotchange
- slots-basic
- fallback
- light
- shadow
- implicit-no-template
- light
- shadow
- slotted
- light
- shadow
- slots-fallback
- slots-nested
- slots-unknown
- slots
- slotted-content-nested
- ssr-internals
- static-stylesheets
- scoped-and-unscoped-dynamic-render
- scoped-and-unscoped-with-class
- scoped-and-unscoped-with-dynamic-class
- scoped-and-unscoped
- unscoped-only-with-class
- unscoped-only-with-dynamic-class
- unscoped-only
- unscoped-with-scoped-template-styles-and-class
- unscoped-with-scoped-template-styles
- style-class-whitespace
- style-newline
- styles-escaping-invalid-multiple-levels
- styles-escaping-invalid-trailing-close-tag
- styles-escaping-invalid-trailing-open-tag
- styles-escaping-invalid-unclosed-open-tag
- styles-escaping-safe
- styles-escaping-unsafe
- styles-keyframes
- styles
- superclass
- fancy
- mixin
- no-template-in-superclass
- not-superclass
- override
- render-in-superclass
- no-template-in-subclass
- render-in-subclass
- template-in-subclass
- unused-default-in-subclass
- unused-default-in-superclass
- template-in-superclass
- basic
- render-in-subclass
- template-in-super-render-in-super-super
- template-in-super-super-render-in-super
- template-in-super-super
- with-props
- svgs
- tag-name
- text-interpolation-escape
- text-interpolation
- text-static
- this-dot-host-element
- track-revoked-proxy-fails
- very-deeply-nested-each
- wire
- basic
- collision
- get-set
- method-prop
- prop-method
- config
- deep-reference
- errors
- computed-prop-updates-incorrectly
- throws-on-computed-getter
- throws-on-computed-method
- throws-on-computed-setter
- throws-when-colliding-prop-then-method
- throws-when-computed-prop-is-expression
- throws-when-computed-prop-is-let-variable
- throws-when-computed-prop-is-regexp-literal
- throws-when-computed-prop-is-template-literal
- throws-when-using-2-wired-decorators
- throws-when-wired-method-is-combined-with-@api
- throws-when-wired-property-is-combined-with-@api
- throws-when-wired-property-is-combined-with-@track
- field
- get-set
- imported-member
- method
- ssr-compiler/src/__tests__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
677 files changed
+660
-1372
lines changedLines changed: 3 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | 18 | | |
21 | | - | |
22 | | - | |
| 19 | + | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
133 | | - | |
134 | 130 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 131 | + | |
141 | 132 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 133 | + | |
147 | 134 | | |
148 | 135 | | |
149 | 136 | | |
| |||
152 | 139 | | |
153 | 140 | | |
154 | 141 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 142 | | |
160 | 143 | | |
161 | 144 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | | - | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | | - | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | | - | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | | - | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
0 commit comments