Skip to content

Commit fccdb4a

Browse files
leshniakclaude
andcommitted
style: fix Prettier formatting in createStoreTest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8bc7cd4 commit fccdb4a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/unit/storage/providers/createStoreTest.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,10 @@ describe('createStore', () => {
277277
const result = await store('readonly', (s) => IDB.promisifyRequest(s.get('key1')));
278278
expect(result).toBe('value');
279279
expect(callCount).toBe(2);
280-
expect(logAlertSpy).toHaveBeenCalledWith('IDB heal: backing store error detected — dropping cached connection and reopening (2 attempts left)', expect.objectContaining({dbName: expect.any(String)}));
280+
expect(logAlertSpy).toHaveBeenCalledWith(
281+
'IDB heal: backing store error detected — dropping cached connection and reopening (2 attempts left)',
282+
expect.objectContaining({dbName: expect.any(String)}),
283+
);
281284
expect(logInfoSpy).toHaveBeenCalledWith('IDB heal: successfully recovered after backing store error', expect.objectContaining({dbName: expect.any(String)}));
282285
});
283286

@@ -451,10 +454,7 @@ describe('createStore', () => {
451454
expect.stringContaining('connection lost error detected — dropping cached connection and reopening'),
452455
expect.objectContaining({dbName: expect.any(String)}),
453456
);
454-
expect(logInfoSpy).toHaveBeenCalledWith(
455-
'IDB heal: successfully recovered after connection lost error',
456-
expect.objectContaining({dbName: expect.any(String)}),
457-
);
457+
expect(logInfoSpy).toHaveBeenCalledWith('IDB heal: successfully recovered after connection lost error', expect.objectContaining({dbName: expect.any(String)}));
458458
});
459459

460460
it('should stop healing after budget exhausts', async () => {

0 commit comments

Comments
 (0)