Fix linter errors
This commit is contained in:
parent
5f644f971e
commit
10695e6a20
46 changed files with 93 additions and 62 deletions
1
lib/analyze.test.js
generated
1
lib/analyze.test.js
generated
|
|
@ -231,6 +231,7 @@ const util = __importStar(require("./util"));
|
|||
return (0, analyze_1.validateQueryFilters)([{ xxx: "foo" }]);
|
||||
}, { message: /Only "include" or "exclude" filters are allowed/ });
|
||||
t.throws(() => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
||||
return (0, analyze_1.validateQueryFilters)({ exclude: "foo" });
|
||||
}, {
|
||||
message: /Query filters must be an array of "include" or "exclude" entries/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue