mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
"fix" test compilation
This commit is contained in:
@@ -337,7 +337,12 @@ test {
|
|||||||
|
|
||||||
std.testing.refAllDecls(@import("generate.zig"));
|
std.testing.refAllDecls(@import("generate.zig"));
|
||||||
std.testing.refAllDecls(@import("cdp/msg.zig"));
|
std.testing.refAllDecls(@import("cdp/msg.zig"));
|
||||||
std.testing.refAllDecls(@import("server.zig"));
|
|
||||||
|
// Don't use refAllDecls, as this will pull in the entire project
|
||||||
|
// and break the test build.
|
||||||
|
// We should fix this. See this branch & the commit message for details:
|
||||||
|
// https://github.com/karlseguin/browser/commit/193ab5ceab3d3758ea06db04f7690460d79eb79e
|
||||||
|
_ = @import("server.zig");
|
||||||
}
|
}
|
||||||
|
|
||||||
fn testJSRuntime(alloc: std.mem.Allocator) !void {
|
fn testJSRuntime(alloc: std.mem.Allocator) !void {
|
||||||
|
|||||||
Reference in New Issue
Block a user