Skip to content

Commit e68ae2b

Browse files
committed
fix(driver-turso): the DriverOptions door pin writes timeoutMs (#14478)
`turso-driver-options-door.test.ts` builds a `Parameters<TursoDriver['update']>[3]` literal — that argument IS `DriverOptions`, so the `timeout` key it wrote is the one renamed to `timeoutMs` here, not a driver-local key. Same magnitude (milliseconds), no value conversion. `TursoDriverConfig.timeout` in `turso-driver.ts` and the `timeout` in `src/spec/turso.zod.ts` are a different key on the driver's own connection schema and stay as they are. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G4138K1EG7kQ81FNba5Kp4
1 parent 9999954 commit e68ae2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/drivers/driver-turso/src/turso-driver-options-door.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('[#6402] TursoDriver `options` doors are DriverOptions, all 17 of them'
116116
bypassTenantAudit: true,
117117
tenantId: 'org_1',
118118
skipCache: true,
119-
timeout: 5_000,
119+
timeoutMs: 5_000,
120120
};
121121
expect(declared.tenantId).toBe('org_1');
122122
});

0 commit comments

Comments
 (0)