diff --git a/test/cli-main.js b/test/cli-main.js index c8ada0e6..2bb9e303 100644 --- a/test/cli-main.js +++ b/test/cli-main.js @@ -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})); }); diff --git a/test/fixtures/ignores/test/fixtures/linter-error.js b/test/fixtures/ignores/dist/linter-error.js similarity index 100% rename from test/fixtures/ignores/test/fixtures/linter-error.js rename to test/fixtures/ignores/dist/linter-error.js diff --git a/test/fixtures/ignores/package.json b/test/fixtures/ignores/package.json index e889ef82..d29a3e3f 100644 --- a/test/fixtures/ignores/package.json +++ b/test/fixtures/ignores/package.json @@ -3,7 +3,7 @@ "version": "0.0.1", "xo": { "ignore": [ - "!{test/,}fixture{s,}/**" + "!dist/**" ] } } diff --git a/test/fixtures/ignores/test/foo.js b/test/fixtures/ignores/test/foo.js deleted file mode 100644 index e94f2472..00000000 --- a/test/fixtures/ignores/test/foo.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function () { - return 'this module should not have any errors'; -};