summaryrefslogtreecommitdiff
path: root/cli/tests/integration/bundle_tests.rs
diff options
context:
space:
mode:
authorjuju <gliheng@live.com>2022-01-12 20:05:06 +0800
committerGitHub <noreply@github.com>2022-01-12 13:05:06 +0100
commit50e8ab8a8630a272e9862f2fb7014107474405c6 (patch)
treef6c070945cc67d6b30506d422cdf23d5cb58babd /cli/tests/integration/bundle_tests.rs
parent62291e9b0e99406ac7f5a95dc329400f9f966825 (diff)
feat(cli): add ignore directives to bundled code (#13309)
This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually.
Diffstat (limited to 'cli/tests/integration/bundle_tests.rs')
-rw-r--r--cli/tests/integration/bundle_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration/bundle_tests.rs b/cli/tests/integration/bundle_tests.rs
index 4ef48b7e3..36ea1f8dd 100644
--- a/cli/tests/integration/bundle_tests.rs
+++ b/cli/tests/integration/bundle_tests.rs
@@ -442,3 +442,8 @@ itest!(bundle_export_specifier_with_alias {
args: "bundle bundle/file_tests-fixture16.ts",
output: "bundle/fixture16.out",
});
+
+itest!(bundle_ignore_directives {
+ args: "bundle subdir/mod1.ts",
+ output: "bundle_ignore_directives.test.out",
+});