diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-05-11 07:54:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 01:54:39 +0200 |
commit | 36c5461129a1b769eb205765a79c5dc000b0b2f6 (patch) | |
tree | eec51ab5f8419acaa5adf7fe84319e9773dec26c /cli/tests/integration_tests.rs | |
parent | c44e53a5b6bd8d995ddc32a0ba13d20bf4e70818 (diff) |
feat(test): add support for type checking documentation (#10521)
This commit adds support for type checking codeblocks in the JS doc
comments.
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index cfb450678..56043930b 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2580,6 +2580,12 @@ mod integration { output: "test/deno_test.out", }); + itest!(doc { + args: "test --doc --allow-all test/doc.ts", + exit_code: 1, + output: "test/doc.out", + }); + itest!(allow_all { args: "test --unstable --allow-all test/allow_all.ts", exit_code: 0, |