Skip to content

Commit 08e1acf

Browse files
committed
Update help output
1 parent fc1d36a commit 08e1acf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cli.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ var cli = meow([
4848
' ava',
4949
' ava test.js test2.js',
5050
' ava test-*.js',
51+
' ava test',
5152
' ava --init',
5253
' ava --init foo.js',
5354
'',
5455
'Default patterns when no arguments:',
55-
'test.js test-*.js test/*.js'
56+
'test.js test-*.js test/**/*.js'
5657
], {
5758
string: [
5859
'_',

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ $ ava --help
115115
ava
116116
ava test.js test2.js
117117
ava test-*.js
118+
ava test
118119
ava --init
119120
ava --init foo.js
120121
121122
Default patterns when no arguments:
122-
test.js test-*.js test/*.js
123+
test.js test-*.js test/**/*.js
123124
```
124125

125126
Directories are recursive by default. Files in directories named `fixtures` and `helpers` are ignored, as well as files starting with `_`. This can be useful for having helpers in the same directory as your test files.

0 commit comments

Comments
 (0)