1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/tests/specs/test/doc_ts_expect_error/mod.out
Yusuke Tanaka 15fae19748
fix(cli): preserve comments in doc tests (#26828)
This commit makes comments in code snippets in JSDoc or markdown
preserved when they are executed as tests. In particular, this is needed
to get TypeScript special comments such as `@ts-ignore` or
`@ts-expect-error` to work correctly.

Fixes #26728
2024-11-13 21:04:32 -08:00

8 lines
213 B
Text

Check [WILDCARD]/mod.ts
Check [WILDCARD]/mod.ts$2-10.ts
running 0 tests from ./mod.ts
running 1 test from ./mod.ts$2-10.ts
[WILDCARD]/mod.ts$2-10.ts ... ok ([WILDCARD]ms)
ok | 1 passed | 0 failed ([WILDCARD]ms)