mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-25 11:02:11 +03:00
test: remove unnecessary test.ts
files
The testing infrastructure will add exactly this default `test.ts` when it isn't explicitly specified.
This commit is contained in:
parent
a201cafdea
commit
7b0e779ffd
@ -25,13 +25,6 @@ fn decode_uri() {
|
||||
assert!(js::decode_uri("%E0%A4%A").is_err());
|
||||
}
|
||||
"#)
|
||||
.file("test.ts", r#"
|
||||
import * as wasm from "./out";
|
||||
|
||||
export function test() {
|
||||
wasm.test();
|
||||
}
|
||||
"#)
|
||||
.test();
|
||||
}
|
||||
|
||||
@ -52,13 +45,6 @@ fn encode_uri() {
|
||||
assert_eq!(x, "ABC%20abc%20123");
|
||||
}
|
||||
"#)
|
||||
.file("test.ts", r#"
|
||||
import * as wasm from "./out";
|
||||
|
||||
export function test() {
|
||||
wasm.test();
|
||||
}
|
||||
"#)
|
||||
.test();
|
||||
}
|
||||
|
||||
@ -83,12 +69,5 @@ fn eval() {
|
||||
assert_eq!(err.as_f64().unwrap(), 42.0);
|
||||
}
|
||||
"#)
|
||||
.file("test.ts", r#"
|
||||
import * as wasm from "./out";
|
||||
|
||||
export function test() {
|
||||
wasm.test();
|
||||
}
|
||||
"#)
|
||||
.test();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user