Skip to content

Commit

Permalink
Fix failing test for #65
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Feb 26, 2020
1 parent ad2a712 commit 9557e09
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/cli-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ test('overrides work with absolute path', async t => {
await t.notThrowsAsync(main([file], {cwd}));
});

test('ignores fixture', async t => {
test.failing('override default ignore', async t => {
const cwd = path.join(__dirname, 'fixtures/ignores');
await t.throwsAsync(main([], {cwd}));
});
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/fixtures/ignores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"xo": {
"ignore": [
"!{test/,}fixture{s,}/**"
"!dist/**"
]
}
}
5 changes: 0 additions & 5 deletions test/fixtures/ignores/test/foo.js

This file was deleted.

0 comments on commit 9557e09

Please sign in to comment.