chore: passing tests

This commit is contained in:
James
2023-07-31 18:12:09 -04:00
parent af302e19ee
commit 3a5851d28a
21 changed files with 246 additions and 89 deletions

View File

@@ -12,7 +12,9 @@ describe('array-update', () => {
});
afterAll(async () => {
await payload.db.destroy(payload);
if (typeof payload.db.destroy === 'function') {
await payload.db.destroy(payload);
}
});
it('should persist existing array-based data while updating and passing row ID', async () => {