diff --git a/tests/all/js_globals/mod.rs b/tests/all/js_globals/mod.rs index 5c41ea6ca..a7eaaeebd 100644 --- a/tests/all/js_globals/mod.rs +++ b/tests/all/js_globals/mod.rs @@ -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(); }