[ci skip] fix wasm unit tests

This commit is contained in:
Christien Rioux 2025-03-11 21:39:56 -04:00
parent 6018d385e8
commit 3a8150c062
7 changed files with 55 additions and 21 deletions

View file

@ -18,8 +18,8 @@ pub fn setup() -> () {
let config = veilid_tracing_wasm::WASMLayerConfig::new()
.with_report_logs_in_timings(false);
.with_max_level(Level::TRACE);
.with_console_config(tracing_wasm::ConsoleConfig::ReportWithoutConsoleColor);
tracing_wasm::set_as_global_default_with_config(config);
.with_console_config(veilid_tracing_wasm::ConsoleConfig::ReportWithoutConsoleColor);
veilid_tracing_wasm::set_as_global_default_with_config(config);
} else {
wasm_logger::init(wasm_logger::Config::default());
}