From b2fcd3d01458072265e5ce9bfe9e8ed34fe4c00b Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Mon, 26 Jul 2021 20:05:44 +0800 Subject: fix(cli): side-load test modules (#11515) This fixes a regression introduced in 1.9 where test modules became main modules by side loading them in a generated module. --- cli/tests/integration/test_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration/test_tests.rs') diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index 64ad29e22..1f9df3fd5 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -19,6 +19,12 @@ fn no_color() { assert!(out.contains("test result: FAILED. 1 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out")); } +itest!(meta { + args: "test test/meta.ts", + exit_code: 0, + output: "test/meta.out", +}); + itest!(pass { args: "test test/pass.ts", exit_code: 0, -- cgit v1.2.3