diff --git a/frontend_tests/zjsunit/index.js b/frontend_tests/zjsunit/index.js index 6cfdb072c0..f31afc9c3d 100644 --- a/frontend_tests/zjsunit/index.js +++ b/frontend_tests/zjsunit/index.js @@ -46,7 +46,10 @@ global.stub_out_jquery = namespace.stub_out_jquery; global.with_overrides = namespace.with_overrides; global.window = new Proxy(global, { - set: (obj, prop, value) => namespace.set_global(prop, value), + set: (obj, prop, value) => { + namespace.set_global(prop, value); + return true; + }, }); global.to_$ = () => window;