chore(autofix): apply prettier + eslint fixes via /autofix command

This commit is contained in:
github-actions[bot] 2026-09-12 13:14:42 +00:00
parent c50541bd63
commit 1fbe8f661d
2 changed files with 5 additions and 4 deletions

View file

@ -129,7 +129,6 @@ describe('doInitLbug WAL corruption guard — structural', () => {
expect(mismatchIdx).toBeGreaterThan(-1);
expect(mismatchIdx).toBeLessThan(warnIdx);
});
});
// ─── Behavioural tests ────────────────────────────────────────────────────────

View file

@ -57,8 +57,7 @@ vi.mock('../../src/core/lbug/sidecar-recovery.js', () => ({
const { initLbug, closeLbug, isLbugReady, unpinRepo } =
await import('../../src/core/lbug/pool-adapter.js');
const { STORAGE_VERSION_MISMATCH_SUGGESTION } =
await import('../../src/core/lbug/lbug-config.js');
const { STORAGE_VERSION_MISMATCH_SUGGESTION } = await import('../../src/core/lbug/lbug-config.js');
const NATIVE_STORAGE_VERSION_MISMATCH =
'Runtime exception: Trying to read a database file with a different version. Database file version: 43, Current build storage version: 42';
@ -120,7 +119,10 @@ describe('pool-adapter storage-version fail-fast and lock-retry backoff', () =>
const otherPath = dbPathFor(otherId);
createLbugDatabaseMock.mockImplementation((_mod: unknown, dbPath: string) => {
if (String(dbPath).includes(`${path.sep}locked.lbug`) || String(dbPath).endsWith('locked.lbug')) {
if (
String(dbPath).includes(`${path.sep}locked.lbug`) ||
String(dbPath).endsWith('locked.lbug')
) {
throw new Error('Could not set lock on file : /tmp/locked.lbug');
}
return goodDb();