Commit 0fefe67
authored
test(wtr): split up utils (#5479)
* test(wtr): update tests to use relative path to utils
instead of weird fake module
* test(wtr): revert removing TestUtils
* test(wtr): remove useless describe
There's no setup/teardown needed, it's a single test, and WTR provides per-file encapsulation
* test(wtr): replace IIFE script with module import
* test(wtr): clean up SSR execution script
working toward just importing and executing things, but not quite there yet
* test(wtr): always use DISABLE_SYNTHETIC
two env vars for the same goal is unnecessary
* test(wtr): enable all hydration tests
I think the last one was a concurrency related timeout,
which was previously addressed.
* test(wtr): remove side effect from signals helper
helper files shouldn't have side effects; all setup should be in the setup file
* test(wtr): import directly from file, not from barrel exporter
* test(wtr): change bulk export statement to individual exports
* test(wtr): remove unnecessary aria re-export
* test(wtr): fix a few more ARIA util imports
* chore: move comment for nicer aesthetic
* test(wtr): remove unused option
* test(wtr): fix another ARIA util import
* test(wtr): import directly from hooks file rather than utils
* test(wtr): import directly from signals file rather than utils
* test(wtr): import directly from console helper rather than utils
* test(wtr): import directly from constants helper rather than utils
* test(wtr): only import what is needed from LWC
* test(wtr): split lwc:dynamic load helpers into separate file
* test(wtr): avoid relying on global LWC1 parent a96e8d9 commit 0fefe67
File tree
59 files changed
+147
-173
lines changed- packages/@lwc/integration-not-karma
- configs/plugins
- helpers
- test
- accessibility/non-standard-aria-props
- api
- CustomElementConstructor-getter
- getComponentDef
- sanitizeAttribute
- sanitizeHtmlContent
- component
- LightningElement.addEventListener
- LightningElement.attachInternals
- api
- elementInternals
- formAssociated
- sanity
- ei/component
- LightningElement.hostElement
- LightningElement.style
- aria-reflection
- dynamic-imports
- face-callbacks
- properties
- light-dom
- lifecycle
- scoped-slot
- if-block
- runtime-checks
- slot-fowarding/slots
- forwarding
- reactivity
- slotting
- synthetic-shadow-styles
- lwc-on
- misc/object-rest-spread
- mixed-shadow-mode/LightningElement.shadowSupportMode
- polyfills/aria-properties
- profiler/sanity
- regression/invalid-key
- rendering
- fragment-cache
- legacy-scope-tokens
- scoped-styles-with-existing-class
- side-effects
- slot-not-at-top-level
- element/light
- external/light
- ifTrue/light
- lwcIf/light
- slotting
- signal
- protocol/x/signal
- reactivity/x/signal
- spread
- static-content
- synthetic-shadow
- disable-synthetic-shadow
- shadow-token
- template
- attribute-aria
- x/child
- attribute-class
- directive-for-each
- directive-lwc-inner-html
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
59 files changed
+147
-173
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
359 | 377 | | |
360 | 378 | | |
361 | 379 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| |||
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
91 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
51 | | - | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 4 | + | |
27 | 5 | | |
28 | 6 | | |
29 | 7 | | |
| |||
63 | 41 | | |
64 | 42 | | |
65 | 43 | | |
66 | | - | |
| 44 | + | |
67 | 45 | | |
68 | 46 | | |
69 | 47 | | |
| |||
74 | 52 | | |
75 | 53 | | |
76 | 54 | | |
77 | | - | |
78 | | - | |
| 55 | + | |
| 56 | + | |
79 | 57 | | |
80 | 58 | | |
81 | 59 | | |
82 | 60 | | |
83 | 61 | | |
84 | 62 | | |
85 | | - | |
86 | | - | |
| 63 | + | |
| 64 | + | |
87 | 65 | | |
88 | 66 | | |
89 | | - | |
| 67 | + | |
90 | 68 | | |
91 | 69 | | |
92 | 70 | | |
| |||
120 | 98 | | |
121 | 99 | | |
122 | 100 | | |
123 | | - | |
| 101 | + | |
124 | 102 | | |
125 | 103 | | |
126 | 104 | | |
| |||
140 | 118 | | |
141 | 119 | | |
142 | 120 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 121 | | |
156 | 122 | | |
157 | | - | |
| 123 | + | |
158 | 124 | | |
159 | 125 | | |
160 | 126 | | |
161 | 127 | | |
162 | 128 | | |
163 | | - | |
| 129 | + | |
164 | 130 | | |
165 | 131 | | |
166 | 132 | | |
167 | | - | |
| 133 | + | |
168 | 134 | | |
169 | 135 | | |
170 | 136 | | |
171 | 137 | | |
172 | | - | |
| 138 | + | |
173 | 139 | | |
174 | 140 | | |
175 | 141 | | |
| |||
216 | 182 | | |
217 | 183 | | |
218 | 184 | | |
219 | | - | |
220 | | - | |
| 185 | + | |
| 186 | + | |
221 | 187 | | |
222 | 188 | | |
223 | 189 | | |
224 | 190 | | |
225 | | - | |
| 191 | + | |
226 | 192 | | |
227 | 193 | | |
228 | 194 | | |
| |||
257 | 223 | | |
258 | 224 | | |
259 | 225 | | |
260 | | - | |
| 226 | + | |
261 | 227 | | |
262 | 228 | | |
263 | 229 | | |
| |||
314 | 280 | | |
315 | 281 | | |
316 | 282 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
Lines changed: 1 addition & 1 deletion
| 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 | | |
10 | 10 | | |
| |||
0 commit comments