Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nowork-studio/NotFair
/ createDb
Function
createDb
notfair-cmo/src/server/db/projects.test.ts:34–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
}
33
34
function
createDb(): Database.Database {
35
const
db =
new
Database(
":memory:"
);
36
db.pragma(
"foreign_keys = ON"
);
37
applyMigrations(db);
38
return
db;
39
}
40
41
beforeEach(() => {
42
testDb = createDb();
Callers
1
projects.test.ts
File · 0.70
Calls
1
applyMigrations
Function · 0.70
Tested by
no test coverage detected