fix tests
This commit is contained in:
		@@ -3,7 +3,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 | 
			
		||||
 | 
			
		||||
pushd $SCRIPTDIR 2>/dev/null
 | 
			
		||||
if [[ "$1" == "wasm" ]]; then
 | 
			
		||||
    WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --firefox --headless
 | 
			
		||||
    WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --firefox --headless --features=rt-wasm-bindgen
 | 
			
		||||
elif [[ "$1" == "ios" ]]; then
 | 
			
		||||
    SYMROOT=/tmp/testout
 | 
			
		||||
    APPNAME=veilidcore-tests
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ use crate::*;
 | 
			
		||||
pub async fn run_all_tests() {
 | 
			
		||||
    info!("TEST: test_host_interface");
 | 
			
		||||
    test_host_interface::test_all().await;
 | 
			
		||||
    info!("TEST: test_dht_key");
 | 
			
		||||
    info!("TEST: test_types");
 | 
			
		||||
    test_types::test_all().await;
 | 
			
		||||
    info!("TEST: test_veilid_core");
 | 
			
		||||
    test_veilid_core::test_all().await;
 | 
			
		||||
 
 | 
			
		||||
@@ -37,9 +37,9 @@ async fn run_test_host_interface() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[wasm_bindgen_test]
 | 
			
		||||
async fn run_test_dht_key() {
 | 
			
		||||
async fn run_test_types() {
 | 
			
		||||
    setup();
 | 
			
		||||
    test_dht_key::test_all().await;
 | 
			
		||||
    test_types::test_all().await;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[wasm_bindgen_test]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user