MCPcopy Create free account
hub / github.com/Effect-TS/effect / hasTransactionSql

Function hasTransactionSql

packages/sql-sqlite-do/test/Client.test.ts:97–98  ·  view source on GitHub ↗
(storage: FakeDurableObjectStorage)

Source from the content-addressed store, hash-verified

95 )
96
97const hasTransactionSql = (storage: FakeDurableObjectStorage) =>
98 storage.sql.statements.some((statement) => transactionSql.test(statement.trim()))
99
100describe("Client", () => {
101 it.scoped("withTransaction commits through DurableObjectStorage.transaction", () =>

Callers 1

Client.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected