MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / loadConfigModule

Function loadConfigModule

src/core/config-accounts.spec.ts:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14let savedHome: string | undefined
15
16async function loadConfigModule() {
17 vi.resetModules()
18 process.env['OPENALICE_HOME'] = home
19 const config = await import('./config.js')
20 const sealing = await import('./sealing.js')
21 return { config, sealing }
22}
23
24beforeEach(async () => {
25 savedHome = process.env['OPENALICE_HOME']

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected