mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 12:35:36 +08:00
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…
x
Reference in New Issue
Block a user