mirror of
https://github.com/dmpierre/plasma-fold.git
synced 2026-01-10 07:48:07 -05:00
Attempt to use alias for client tests
This commit is contained in:
5
.cargo/config.toml
Normal file
5
.cargo/config.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[target.wasm32-unknown-unknown]
|
||||
runner = "./wasm-bindgen-test-runner"
|
||||
|
||||
[alias]
|
||||
test-client = "test --package client --target wasm32-unknown-unknown"
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user