mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
docs: fix test glob pattern (#5661)
This commit is contained in:
parent
11e3d70c85
commit
9fdc6dc435
2 changed files with 3 additions and 3 deletions
|
@ -1030,7 +1030,7 @@ report results to standard output:
|
|||
deno test src/fetch_test.ts src/signal_test.ts
|
||||
|
||||
Directory arguments are expanded to all contained files matching the glob
|
||||
{*_,}test.{js,ts,jsx,tsx}:
|
||||
{*_,*.,}test.{js,ts,jsx,tsx}:
|
||||
deno test src/",
|
||||
)
|
||||
}
|
||||
|
|
|
@ -100,6 +100,6 @@ deno test my_test.ts
|
|||
```
|
||||
|
||||
You can also omit the file name, in which case all tests in the current
|
||||
directory (recursively) that match the glob `{*_,}test.{js,ts,jsx,tsx}` will be
|
||||
run. If you pass a directory, all files in the directory that match this glob
|
||||
directory (recursively) that match the glob `{*_,*.,}test.{js,ts,jsx,tsx}` will
|
||||
be run. If you pass a directory, all files in the directory that match this glob
|
||||
will be run.
|
||||
|
|
Loading…
Add table
Reference in a new issue