Skip to content

Commit e67b2be

Browse files
Shawclaude
andcommitted
fix(cloud-tests): drop unused cryptoPayments binding (biome noUnusedVariables)
After dropping the unused destructured `cryptoPayments` schema import binding (we read the table via `dbWrite.query.cryptoPayments` directly), the let-declaration was orphaned. Removed the binding and replaced the schemas pin with `void schemas.cryptoPayments` so the table is still imported eagerly (drizzle migrations need it bound before the test creates the SQL). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 02e341f commit e67b2be

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/cloud-shared/src/lib/services/__tests__/direct-wallet-payments.integration.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ const PAYER_SOL = "So11111111111111111111111111111111111111112";
243243

244244
// Loaded after env is set
245245
let dbWrite: typeof import("../../../db/client").dbWrite;
246-
let cryptoPayments: typeof import("../../../db/schemas/crypto-payments").cryptoPayments;
247246
let service: typeof import("../direct-wallet-payments").directWalletPaymentsService;
248247
let closeDb: () => Promise<void>;
249248
let pgliteAvailable = true;
@@ -257,7 +256,7 @@ beforeAll(async () => {
257256
const svc = await import("../direct-wallet-payments");
258257
dbWrite = dbClient.dbWrite;
259258
closeDb = dbClient.closeDatabaseConnectionsForTests;
260-
cryptoPayments = schemas.cryptoPayments;
259+
void schemas.cryptoPayments;
261260
service = svc.directWalletPaymentsService;
262261

263262
// Create only the table we need. uuid_generate_v4 isn't available in PGlite

0 commit comments

Comments
 (0)