Update ESLint, Prettier, TypeScript, and Ava
This commit is contained in:
1 parent
04b19eb05f
commit
2780e3970e
4 files changed
+1053
-2004
No files matched your search
@@ -56,7 +56,7 @@ ava("mongoQueryToFilter", (t) => {
|
||||
const func = (): void => {
|
||||
mongodbFunctions.mongoQueryToFilter(test[0] as Record<string, unknown>);
|
||||
};
|
||||
const error = t.throws(func, Error);
|
||||
const error = t.throws(func, { instanceOf: Error });
|
||||
t.is(error.message, test[1]);
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user