Skip to content

Commit 3433840

Browse files
committed
brought forward two spec issues
1 parent 3fcf1b1 commit 3433840

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ruby/hyper-component/spec/client_features/component_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,8 @@ class Foo
497497
Hyperstack::Component::ReactTestUtils.render_component_into_document(foo)
498498
end
499499
expect(page.driver.browser.manage.logs.get(:browser)
500-
.reject { |entry| entry.to_s.include?("Deprecated feature") }
500+
.reject { |entry| entry.to_s.include?('Deprecated feature') }
501+
.reject { |entry| entry.to_s.include?('Object freezing is not supported by Opal')}
501502
.map { |m| m.message.gsub(/\\n/, "\n") }.to_a.join("\n").size)
502503
.to eq(0)
503504
end

ruby/hyper-component/spec/client_features/state_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ class << self
4242
expect_evaluate_ruby("StateTest.boom").to be_falsy
4343
expect(page.driver.browser.manage.logs.get(:browser).reject { |entry|
4444
entry_s = entry.to_s
45-
entry_s.include?("Deprecated feature") || entry_s.include?("Mount() on the server. This is a no-op.")
45+
entry_s.include?("Deprecated feature") ||
46+
entry_s.include?("Mount() on the server. This is a no-op.") ||
47+
entry_s.include?('Object freezing is not supported by Opal')
4648
}.size).to eq(0)
4749
end
4850
end

0 commit comments

Comments
 (0)