12 lines
296 B
TypeScript
12 lines
296 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 };
|
|
}
|