summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorYusuke Sakurai <kerokerokerop@gmail.com>2019-10-17 02:35:04 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-10-16 13:35:04 -0400
commitc1b302d76968bb55df24ef360a9fbf71857ae35c (patch)
tree62893ada3171354dd6f92c2cb7b237ef3702e7fc /cli/tests/integration_tests.rs
parent5983507255c8f725ee36ff53f6f8ecb2cb41e607 (diff)
fix: remote jsx/tsx files were compiled as js/ts (#3125)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 4271036d1..fcf641dc0 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -326,6 +326,18 @@ itest!(_047_jsx {
output: "047_jsx_test.jsx.out",
});
+itest!(_048_media_types_jsx {
+ args: "run --reload 048_media_types_jsx.ts",
+ output: "048_media_types_jsx.ts.out",
+ http_server: true,
+});
+
+itest!(_049_info_flag_script_jsx {
+ args: "info http://127.0.0.1:4545/cli/tests/048_media_types_jsx.ts",
+ output: "049_info_flag_script_jsx.out",
+ http_server: true,
+});
+
itest!(async_error {
exit_code: 1,
args: "run --reload async_error.ts",