Skip to content

Commit

Permalink
Update ignore-pattern.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nickharris committed Mar 24, 2020
1 parent f628809 commit 6791fe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/lib/cli-engine/config-array/ignore-pattern.js
Expand Up @@ -101,7 +101,7 @@ describe("IgnorePattern", () => {
];

for (const [filename, expected] of patterns) {
it(`should return ${expected} if '${filename}' was given. ${basePath1};${basePath2}`, () => {
it(`should return ${expected} if '${filename}' was given.`, () => {
assert.strictEqual(ignores(path.join(cwd, filename)), expected);
});
}
Expand All @@ -114,7 +114,6 @@ describe("IgnorePattern", () => {
assert.strictEqual(ignores(path.join(cwd, ".dot.js"), true), false);
});


it("should return false if '.dot/foo.js' and false was given.", () => {
assert.strictEqual(ignores(path.join(cwd, ".dot/foo.js"), false), true);
});
Expand Down

0 comments on commit 6791fe1

Please sign in to comment.