Skip to content

Commit

Permalink
fix: Update mysql-index.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfaron authored Nov 17, 2024
1 parent f369a12 commit e074548
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,4 @@ describe('MySqlIndex', () => {
expect(connection.commit).toHaveBeenCalled();
});
});

describe('reset', () => {
it('resets the index', async () => {
connection.query.mockResolvedValue([[], []]);
await expect(index.reset()).resolves.toEqual(void 0);
expect(connection.beginTransaction).toHaveBeenCalled();
expect(connection.commit).toHaveBeenCalled();
});
});
});

0 comments on commit e074548

Please sign in to comment.