MCPcopy Index your code
hub / github.com/simstudioai/sim / setTx

Function setTx

apps/sim/lib/workspaces/fork/promote/rollback.test.ts:84–88  ·  view source on GitHub ↗
(existingUndeployIds: string[] = [])

Source from the content-addressed store, hash-verified

82}
83
84function setTx(existingUndeployIds: string[] = []) {
85 vi.mocked(db.transaction).mockImplementation(
86 async (cb: (tx: unknown) => unknown) => cb(makeTx(existingUndeployIds)) as never
87 )
88}
89
90function makeRun(overrides: Partial<Record<string, unknown>> = {}) {
91 return {

Callers 1

rollback.test.tsFile · 0.85

Calls 1

makeTxFunction · 0.70

Tested by

no test coverage detected