fix: move to standard ignore implementation (#50)
This commit is contained in:
parent
7efb9bc8ce
commit
9ce2d6fd0e
1 changed files with 23 additions and 29 deletions
|
|
@ -293,7 +293,7 @@ coverage/`;
|
|||
});
|
||||
|
||||
it("should handle negation with directory patterns", () => {
|
||||
const additionalPatterns = ["tests/", "!tests/critical/"];
|
||||
const additionalPatterns = ["tests/*", "!tests/critical/"];
|
||||
|
||||
expect(shouldExclude("tests/unit/test.js", additionalPatterns)).toBe(
|
||||
true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue