Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Nov 7, 2016
1 parent 8fa7946 commit a8b9189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cache.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ test.cb.serial("should output files to standard cache dir if set to true in quer
t.is(err, null);

fs.readdir(defaultCacheDir, (err, files) => {
files = files.filter((file) => /\b[0-9a-f]{5,40}\.json\.gzip\b/.test(file));
files = files.filter((file) => /\b[0-9a-f]{5,40}\.json\.gz\b/.test(file));

t.is(err, null);
t.true(files.length > 0);
Expand Down

0 comments on commit a8b9189

Please sign in to comment.