1
0
Fork 0
cautious-journey/test/remote/helpers.ts

12 lines
299 B
TypeScript

import { Container } from 'noicejs';
import { RemoteModule } from '../../src/module/RemoteModule.js';
export async function createRemoteContainer() {
const module = new RemoteModule();
const container = Container.from(module);
await container.configure();
return { container, module };
}