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

Function deeplyNestedHelper

packages/db/tx-tripwire.test.ts:74–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 it('throws when the root client is queried inside a transaction callback, at any await depth', async () => {
73 const { client } = createFakeClient()
74 const deeplyNestedHelper = async () => {
75 await Promise.resolve()
76 return client.unsafe('select 1 as nested_checkout')
77 }
78
79 await expect(
80 client.begin(async () => {

Callers 1

Calls 2

resolveMethod · 0.65
unsafeMethod · 0.65

Tested by

no test coverage detected