From 7b0e779ffde04046ec5b69b00baee242b47fd25b Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 19 Jun 2018 10:17:42 -0700 Subject: [PATCH] test: remove unnecessary `test.ts` files The testing infrastructure will add exactly this default `test.ts` when it isn't explicitly specified. --- tests/all/js_globals/mod.rs | 21 --------------------- 1 file changed, 21 deletions(-) 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(); }