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
{{ message }}
Repository navigation
Commit 0aad1ef
Browse filesBrowse the repository at this point in the historyBrowse files
expect_evaluate_ruby('Foo.get_info').toeq("\n in ErrorFoo (created by Foo)\n in div (created by Foo)\n in Foo (created by Hyperstack::Internal::Component::TopLevelRailsComponent)\n in Hyperstack::Internal::Component::TopLevelRailsComponent")
166
+
# React 17 replaced the synthetic component stack ("in Foo (created by Bar)")
167
+
# with native error frames, which name files rather than components. What the
168
+
# callback guarantees on every version is that it receives a non-empty
169
+
# componentStack; only React <= 16 can be asserted component by component. (#51)
expect_evaluate_ruby('Foo.get_info').toeq("\n in ErrorFoo (created by Foo)\n in div (created by Foo)\n in Foo (created by Hyperstack::Internal::Component::TopLevelRailsComponent)\n in Hyperstack::Internal::Component::TopLevelRailsComponent")
.tomatch(/Warning: Failed prop( type|Type): In component `Foo`\nRequired prop `foo` was not specified\nProvided prop `bar` could not be converted to String/)
.tomatch(/Warning: Failed prop( type|Type): In component `Foo2`\nRequired prop `foo` was not specified\nProvided prop `bar` could not be converted to String/)
160
160
end
161
161
@@ -191,7 +191,7 @@ class Foo < Hyperloop::Component
.tomatch(/Warning: Failed prop( type|Type): In component `Foo2`\nRequired prop `foo` was not specified\nProvided prop `bar` could not be converted to String/)
221
221
end
222
222
@@ -254,7 +254,7 @@ class Foo < Hyperloop::Component
0 commit comments