diff options
author | Yazan AbdAl-Rahman <yazan.abdalrahman@exalt.ps> | 2024-08-20 21:38:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-20 18:38:06 +0000 |
commit | a7c8bb1596411f91e20ddd5cd54c9dbd055d1059 (patch) | |
tree | 408ed9e2935b4749820c30314087e801b0c280c4 /tests/specs/cache | |
parent | 1f47248143b2298d38dbada5b431570c067ed663 (diff) |
feat: glob and directory support for `deno check` and `deno cache` cli arg paths (#25001)
Closes #24668
Closes #20813
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'tests/specs/cache')
-rw-r--r-- | tests/specs/cache/globbing/__test__.jsonc | 5 | ||||
-rw-r--r-- | tests/specs/cache/globbing/excluded.tsx | 1 | ||||
-rw-r--r-- | tests/specs/cache/globbing/main.ts | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/cache/globbing/__test__.jsonc b/tests/specs/cache/globbing/__test__.jsonc new file mode 100644 index 000000000..9bf210bb4 --- /dev/null +++ b/tests/specs/cache/globbing/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "args": "cache *.ts", + "output": "Download http://localhost:4545/echo.ts\n", + "exitCode": 0 +} diff --git a/tests/specs/cache/globbing/excluded.tsx b/tests/specs/cache/globbing/excluded.tsx new file mode 100644 index 000000000..b21a330c7 --- /dev/null +++ b/tests/specs/cache/globbing/excluded.tsx @@ -0,0 +1 @@ +import "http://localhost:4545/non-existent.ts"; diff --git a/tests/specs/cache/globbing/main.ts b/tests/specs/cache/globbing/main.ts new file mode 100644 index 000000000..fe4964118 --- /dev/null +++ b/tests/specs/cache/globbing/main.ts @@ -0,0 +1 @@ +import "http://localhost:4545/echo.ts"; |