Skip to content

Commit

Permalink
Remove trailing whitespace in ruby template file (#329)
Browse files Browse the repository at this point in the history
rubocop will complain about that otherwise.
  • Loading branch information
rnestler authored Jan 23, 2023
1 parent 28b3a35 commit ca3048f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/spec/support/javascript_error_reporter.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module JavaScriptErrorReporter
module JavaScriptErrorReporter
RSpec.configure do |config|
config.after(:each, type: :system, js: true) do
errors = page.driver.browser.logs.get(:browser)
Expand All @@ -8,9 +8,9 @@ module JavaScriptErrorReporter
expect(error.level).not_to eq('SEVERE'), error.message

next unless error.level == 'WARNING'
warn "\e[33m\nJAVASCRIPT WARNING\n#{error.message}\e[0m"
warn "\e[33m\nJAVASCRIPT WARNING\n#{error.message}\e[0m"
end
end
end
end
end
end

0 comments on commit ca3048f

Please sign in to comment.