DEV: Update js_locale_helper_spec following 76b75fae

This commit is contained in:
David Taylor 2023-11-06 17:49:21 +00:00
parent 9a1695ccc1
commit 1dd8bd2ad9
1 changed files with 1 additions and 0 deletions

View File

@ -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", () => {})