Update ESLint, Prettier, TypeScript, and Ava

This commit is contained in:
Zaid Abdulla committed 2020-09-01 02:59:27 -07:00
1 parent 04b19eb05f
commit 2780e3970e
4 files changed
+1053 -2004

No files matched your search

+1 -1
View File
@@ -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]);
}
});