Skip to content

Commit 91d178c

Browse files
committed
Update help output
1 parent ca9424d commit 91d178c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ $ npm test
9898
```
9999
$ ava --help
100100
101+
🚀 Futuristic test runner 🚀
102+
101103
Usage
102104
ava [<file|folder|glob> ...]
103105
@@ -113,11 +115,12 @@ $ ava --help
113115
ava
114116
ava test.js test2.js
115117
ava test-*.js
118+
ava test
116119
ava --init
117120
ava --init foo.js
118121
119122
Default patterns when no arguments:
120-
test.js test-*.js test/*.js
123+
test.js test-*.js test/**/*.js
121124
```
122125

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