mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
feat(test): add support for type checking documentation (#10521)
This commit adds support for type checking codeblocks in the JS doc comments.
This commit is contained in:
parent
c44e53a5b6
commit
36c5461129
7 changed files with 188 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue