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
@@ -56,7 +59,7 @@ test("render with single allowed text component", () => {
56
59
renderer.render(<div>Hello!</div>);
57
60
});
58
61
}).toThrowErrorMatchingInlineSnapshot(
59
-
`"Invariant Violation: Text strings must be rendered within a <Text> component. Detected attempt to render "Hello!" string within a <div> component."`
62
+
`"Invariant Violation: Text strings must be rendered within a <Text> component. Detected attempt to render "Hello!" string within a <div> component."`,
60
63
);
61
64
});
62
65
@@ -66,7 +69,7 @@ test("render with two allowed text components", () => {
`"Invariant Violation: Text strings must be rendered within a <A> or <B> component. Detected attempt to render "Hello!" string within a <X> component."`
90
+
`"Invariant Violation: Text strings must be rendered within a <A> or <B> component. Detected attempt to render "Hello!" string within a <X> component."`,
88
91
);
89
92
});
90
93
@@ -95,14 +98,14 @@ test("render with multiple allowed text components", () => {
`"Invariant Violation: Text strings must be rendered within a <A>, <B>, or <C> component. Detected attempt to render "Hello!" string within a <X> component."`
109
+
`"Invariant Violation: Text strings must be rendered within a <A>, <B>, or <C> component. Detected attempt to render "Hello!" string within a <X> component."`,
0 commit comments