UNPKG

ts-ioc-container

Version:
34 lines (33 loc) 642 B
import { MethodNotImplementedError } from '../errors/MethodNotImplementedError'; export class AutoMockedContainer { isDisposed = false; createScope() { throw new MethodNotImplementedError(); } dispose() { } register() { return this; } getParent() { return undefined; } getScopes() { return []; } getInstances() { return []; } hasTag(tag) { return false; } removeScope() { } useModule() { return this; } getRegistrations() { return []; } addRegistration(registration) { return this; } }