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

11 lines
295 B
TypeScript
Raw Normal View History

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