You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running gleam test with target=javascript it throws window undefined error
Running frontend_test.main
file:///Users/kenzietandun/dev/traveller/frontend/build/dev/javascript/modem/modem.ffi.mjs:12
const initial_location = window?.location?.href;
^
ReferenceError: window is not defined
at file:///Users/kenzietandun/dev/traveller/frontend/build/dev/javascript/modem/modem.ffi.mjs:12:26
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
The text was updated successfully, but these errors were encountered:
When running gleam test with target=javascript it throws window undefined error
The text was updated successfully, but these errors were encountered: