You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/runtime/src/createRoot.spec.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -240,7 +240,7 @@ describe("preview", () => {
240
240
]);
241
241
242
242
expect(container.innerHTML).toBe(
243
-
'<div data-error-boundary=""><div>UNKNOWN_ERROR: ReferenceError: QUERY is not defined, in "<% QUERY.q %>"</div></div>'
243
+
'<div data-error-boundary="" style="color: var(--color-error);"><div>UNKNOWN_ERROR: ReferenceError: QUERY is not defined, in "<% QUERY.q %>"</div></div>'
Oops! Something went wrong: SyntaxError: Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`3\`. (1:4), in "<% Sub 3 %>"
999
-
</div>
1000
-
</div>
1001
-
</div>
1002
-
</div>,
1003
-
<div
1004
-
id="portal-mount-point"
1005
-
/>,
1006
-
]
1007
-
`);
986
+
HTMLCollection [
987
+
<div
988
+
id="main-mount-point"
989
+
>
990
+
<h1>
991
+
Hello
992
+
</h1>
993
+
<div>
994
+
<div
995
+
data-error-boundary=""
996
+
style="color: var(--color-error);"
997
+
>
998
+
<div>
999
+
Oops! Something went wrong: SyntaxError: Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`3\`. (1:4), in "<% Sub 3 %>"
0 commit comments