Fix lint errors
This commit is contained in:
1 parent
f6edda1c42
commit
9822cad8eb
24 files changed
+171
-181
No files matched your search
@@ -83,8 +83,8 @@ describe('ManageProductsScreen update product category creation branch', () => {
|
||||
productsDb.get.mockResolvedValue(existingProduct);
|
||||
|
||||
// products.where('barcode').equals(value).first() must exist for uniqueness check
|
||||
productsDb.where.mockImplementation((field?: string) => ({
|
||||
equals: (value?: string) => ({
|
||||
productsDb.where.mockImplementation(() => ({
|
||||
equals: () => ({
|
||||
first: async () => undefined,
|
||||
}),
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user