MCPcopy Create free account
hub / github.com/adonisjs/session / createDatabase

Function createDatabase

tests/stores/database_store.spec.ts:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52async function createDatabase() {
53 const app = new AppFactory().create(new URL('./', import.meta.url), () => {})
54 await app.init()
55
56 return new Database(dbConfig, new LoggerFactory().create(), new EmitterFactory().create(app))
57}
58
59test.group('Database store', (group) => {
60 let db: Database

Callers 1

Calls 1

createMethod · 0.80

Tested by

no test coverage detected