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:
Sam Saffron 2020-03-20 15:48:25 +11:00
parent 10b37e1e36
commit 145c90419d
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5

View File

@ -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