Skip to content

Commit 9c88f3a

Browse files
author
Kent C. Dodds
committed
fix(cli): Remove default files from CLI
The default files should be in one place (`ava-files.js`). Right now the defaults provided in `ava-files.js` aren't being used because the CLI pre-populates them. Closes avajs#875
1 parent c9c00d6 commit 9c88f3a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cli.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,6 @@ api.on('test-run', function (runStatus) {
165165
});
166166

167167
var files = cli.input.length ? cli.input : arrify(conf.files);
168-
if (files.length === 0) {
169-
files = [
170-
'test.js',
171-
'test-*.js',
172-
'test'
173-
];
174-
}
175168

176169
if (cli.flags.watch) {
177170
try {

0 commit comments

Comments
 (0)