Attempt to use alias for client tests

This commit is contained in:
winderica
2025-05-10 00:13:40 +08:00
parent 8d24d52de3
commit c555c696c2
2 changed files with 6 additions and 8 deletions

5
.cargo/config.toml Normal file
View File

@@ -0,0 +1,5 @@
[target.wasm32-unknown-unknown]
runner = "./wasm-bindgen-test-runner"
[alias]
test-client = "test --package client --target wasm32-unknown-unknown"

View File

@@ -1,14 +1,7 @@
//! Test suite for the Web and headless browsers.
#![cfg(target_arch = "wasm32")]
extern crate wasm_bindgen_test;
use plasma_fold::datastructures::keypair::KeyPair;
use wasm_bindgen_test::*;
wasm_bindgen_test_configure!(run_in_browser);
#[wasm_bindgen_test]
fn test_keypair() {
let run_test = some_test();
assert_eq!(1 + 1, 2);
}