Commit 364059c
committed
fix(runtime): update test to reflect legacy-HTML passthrough branch
Runtime's buildSrcdoc gained a short-circuit that returns legacy full
HTML documents (pre-JSX-only snapshots) verbatim so Babel doesn't choke
on the DOCTYPE / <html> tokens. The accompanying test still asserted
the old "wrap everything" behaviour and broke CI after the rule-demotion
commit let the runtime package's tests actually run.
Also: fold in a trailing biome-format fix on CanvasErrorBar.tsx.1 parent a92ab37 commit 364059c
4 files changed
Lines changed: 41 additions & 12 deletions
File tree
- apps/desktop/src/renderer/src
- components
- views/hub
- packages/runtime/src
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
5 | 25 | | |
6 | 26 | | |
7 | 27 | | |
8 | 28 | | |
9 | 29 | | |
10 | 30 | | |
11 | 31 | | |
| 32 | + | |
12 | 33 | | |
13 | 34 | | |
14 | 35 | | |
| |||
21 | 42 | | |
22 | 43 | | |
23 | 44 | | |
24 | | - | |
| 45 | + | |
25 | 46 | | |
26 | 47 | | |
27 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
187 | 195 | | |
188 | 196 | | |
189 | 197 | | |
| |||
877 | 885 | | |
878 | 886 | | |
879 | 887 | | |
| 888 | + | |
880 | 889 | | |
881 | 890 | | |
882 | 891 | | |
| 892 | + | |
883 | 893 | | |
884 | 894 | | |
885 | 895 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
189 | 187 | | |
190 | 188 | | |
191 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments