MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / start

Function start

packages/core/sdk/src/test-config.ts:32–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}): TestFumaDb => {
31 let started: Promise<SqliteTestFumaDb> | undefined;
32 const start = () => {
33 if (!started) {
34 started = import("./sqlite-test-db").then(({ createSqliteTestFumaDb }) =>
35 createSqliteTestFumaDb({
36 tables: options.tables,
37 namespace: "executor_test",
38 path: options.dataDir ? `${options.dataDir}/test.db` : undefined,
39 }),
40 );
41 }
42 return started;
43 };
44
45 const internal: FumaDb["internal"] = {
46 tables: options.tables,

Callers 2

makeLazyTestFumaDbFunction · 0.70
getFunction · 0.70

Calls 1

createSqliteTestFumaDbFunction · 0.85

Tested by

no test coverage detected