Use top-level `warn` in JS errors check (#28745)

th-downstream
Matt Jankowski 10 months ago committed by GitHub
parent 7f471e70c0
commit b4c332104a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,8 +9,8 @@ RSpec.configure do |config|
expect(error.level).to_not eq('SEVERE'), error.message expect(error.level).to_not eq('SEVERE'), error.message
next unless error.level == 'WARNING' next unless error.level == 'WARNING'
$stderr.warn 'WARN: javascript warning' warn 'WARN: javascript warning'
$stderr.warn error.message warn error.message
end end
end end
end end

Loading…
Cancel
Save