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

Function createDatabase

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

createMethod · 0.80

Tested by

no test coverage detected