11 lines
295 B
TypeScript
11 lines
295 B
TypeScript
|
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 };
|
||
|
}
|