Adapt to js_env.start change

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2023-11-24 19:16:15 +01:00
parent 8f1afd7fa5
commit b4951ffa51
5 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ fn testExecFn(
) !void {
// start JS env
js_env.start(apis);
try js_env.start(alloc, apis);
defer js_env.stop();
// alias global as self and window