mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: increase timeout for initial context eval
Due to JS refactors our initial payload transpile is taking a bit longer instead of failing the test suite attempt to give this a bit more time
This commit is contained in:
parent
10b37e1e36
commit
145c90419d
@ -62,7 +62,7 @@ module PrettyText
|
||||
end
|
||||
|
||||
def self.create_es6_context
|
||||
ctx = MiniRacer::Context.new(timeout: 15000)
|
||||
ctx = MiniRacer::Context.new(timeout: 25000)
|
||||
|
||||
ctx.eval("window = {}; window.devicePixelRatio = 2;") # hack to make code think stuff is retina
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user