fix: reset database sequences in group sync tests

main
borja (aider) 3 months ago
parent df6d9926af
commit 7778a5f366

@ -10,7 +10,9 @@ describe('GroupSyncService', () => {
let fetchMock: any;
beforeEach(() => {
// Clear and reset test data
db.exec('DELETE FROM groups');
db.exec('DELETE FROM sqlite_sequence WHERE name="groups"');
GroupSyncService['lastSyncAttempt'] = 0;
// Setup mock fetch

Loading…
Cancel
Save