DEV: Update js_locale_helper_spec following 76b75fae
This commit is contained in:
parent
9a1695ccc1
commit
1dd8bd2ad9
|
@ -16,6 +16,7 @@ RSpec.describe JsLocaleHelper do
|
|||
|
||||
ctx = MiniRacer::Context.new
|
||||
ctx.load("#{node_modules}/loader.js/dist/loader/loader.js")
|
||||
ctx.eval("var window = globalThis;")
|
||||
ctx.eval(discourse_i18n)
|
||||
ctx.eval <<~JS
|
||||
define("discourse/loader-shims", () => {})
|
||||
|
|
Loading…
Reference in New Issue