Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPipe/OpenPipe
/ resetDb
Function
resetDb
app/src/tests/helpers/setup.ts:7–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
6
// Reset all Prisma data
7
const
resetDb =
async
() => {
8
await
sql`
9
truncate
"Project"
cascade;
10
`.execute(kysely);
11
};
12
13
beforeEach(
async
() => {
14
await
resetDb();
Callers
1
setup.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected