mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-10-03 14:18:56 -04:00
[ci skip] fix wasm unit tests
This commit is contained in:
parent
6018d385e8
commit
3a8150c062
7 changed files with 55 additions and 21 deletions
|
@ -185,7 +185,7 @@ serial_test = { version = "2.0.0", default-features = false, features = [
|
|||
console_error_panic_hook = "0.1.7"
|
||||
wasm-bindgen-test = "0.3.50"
|
||||
wasm-logger = "0.2.0"
|
||||
tracing-wasm = { version = "0.2.1" }
|
||||
veilid-tracing-wasm = "^0"
|
||||
|
||||
### BUILD OPTIONS
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue