ssube/cautious-journey

View on GitHub
test/remote/helpers.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
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 };
}