(config: SqliteClient.SqliteClientConfig)
| 176 | } |
| 177 | |
| 178 | const makeClient = (config: SqliteClient.SqliteClientConfig) => |
| 179 | SqliteClient.make(config).pipe( |
| 180 | Effect.scoped, |
| 181 | Effect.provide(Reactivity.layer) |
| 182 | ) |
| 183 | |
| 184 | const hasForbiddenTransactionSql = (db: FakeSqlStorage) => |
| 185 | db.statements.some((statement) => /^(BEGIN|COMMIT|ROLLBACK|SAVEPOINT)\b/i.test(normalizeSql(statement))) |
no test coverage detected