Skip to content

Commit db85c03

Browse files
committed
Update help output
1 parent ca9424d commit db85c03

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
@@ -113,11 +113,12 @@ $ ava --help
113113
ava
114114
ava test.js test2.js
115115
ava test-*.js
116+
ava test
116117
ava --init
117118
ava --init foo.js
118119
119120
Default patterns when no arguments:
120-
test.js test-*.js test/*.js
121+
test.js test-*.js test/**/*.js
121122
```
122123

123124
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)