diff options
| author | Casper Beyer <caspervonb@pm.me> | 2021-09-01 17:31:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 18:31:56 +0900 |
| commit | 77ead8af20180453aa2d0db67d7856641bd5498f (patch) | |
| tree | a171be6d325e071b21f5a4718117f9bed12d7eb9 /cli/tests/testdata/test/doc_only | |
| parent | c49eee551fdf78ab0230ec30d4537c98dd5d0c80 (diff) | |
fix(cli): retain path based test mode inference (#11878)
Diffstat (limited to 'cli/tests/testdata/test/doc_only')
| -rw-r--r-- | cli/tests/testdata/test/doc_only/mod.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/testdata/test/doc_only/mod.ts b/cli/tests/testdata/test/doc_only/mod.ts new file mode 100644 index 000000000..467d850a2 --- /dev/null +++ b/cli/tests/testdata/test/doc_only/mod.ts @@ -0,0 +1,10 @@ +/** + * ```ts + * import "./mod.ts"; + * ``` + */ +Deno.test("unreachable", function () { + throw new Error( + "modules that don't end with _test are scanned for documentation tests only should not be executed", + ); +}); |
