Add tests for Event

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-01-19 16:46:09 +01:00
parent da0a54a0df
commit de7fe8ba09
3 changed files with 87 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ const DOMTokenListExecFn = @import("dom/token_list.zig").testExecFn;
const NodeListTestExecFn = @import("dom/nodelist.zig").testExecFn;
const AttrTestExecFn = @import("dom/attribute.zig").testExecFn;
const EventTargetTestExecFn = @import("dom/event_target.zig").testExecFn;
const EventTestExecFn = @import("events/event.zig").testExecFn;
pub const Types = jsruntime.reflect(apiweb.Interfaces);
@@ -75,6 +76,7 @@ fn testsAllExecFn(
NodeListTestExecFn,
AttrTestExecFn,
EventTargetTestExecFn,
EventTestExecFn,
};
inline for (testFns) |testFn| {