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

12 lines
296 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 };
2020-08-29 00:12:05 +00:00
}