diff --git a/veilid-core/src/tests/native/mod.rs b/veilid-core/src/tests/native/mod.rs index 57855174..f6675a6f 100644 --- a/veilid-core/src/tests/native/mod.rs +++ b/veilid-core/src/tests/native/mod.rs @@ -11,6 +11,7 @@ use crate::*; #[allow(dead_code)] pub async fn run_all_tests() { + // iOS and Android tests also run these. info!("TEST: test_host_interface"); test_host_interface::test_all().await; info!("TEST: test_types"); @@ -31,6 +32,10 @@ pub async fn run_all_tests() { test_crypto::test_all().await; info!("TEST: test_envelope_receipt"); test_envelope_receipt::test_all().await; + info!("TEST: veilid_api::test_serialize"); + veilid_api::tests::test_serialize_rkyv::test_all().await; + info!("TEST: routing_table::test_serialize"); + routing_table::tests::test_serialize::test_all().await; info!("Finished unit tests"); } @@ -170,7 +175,7 @@ cfg_if! { fn run_test_serialize_rkyv() { setup(); block_on(async { - test_serialize_rkyv::test_all().await; + veilid_api::tests::test_serialize_rkyv::test_all().await; }) } diff --git a/veilid-core/tests/web.rs b/veilid-core/tests/web.rs index 8d03d596..4e77ee6b 100644 --- a/veilid-core/tests/web.rs +++ b/veilid-core/tests/web.rs @@ -89,3 +89,15 @@ async fn exec_test_envelope_receipt() { setup(); test_envelope_receipt::test_all().await; } + +#[wasm_bindgen_test] +async fn veilid_api__test_serialize_rkyv() { + setup(); + veilid_api::test_serialize_rkyv::test_all().await; +} + +#[wasm_bindgen_test] +async fn routing_table__test_serialize() { + setup(); + routing_table::test_serialize::test_all().await; +}