@nestjs/testing
Version:
Nest - modern, fast, powerful node.js web framework (@testing)
11 lines (10 loc) • 388 B
TypeScript
import { TestingModuleBuilder } from '../testing-module.builder';
import { OverrideByFactoryOptions } from './override-by-factory-options.interface';
/**
* @publicApi
*/
export interface OverrideBy {
useValue: (value: any) => TestingModuleBuilder;
useFactory: (options: OverrideByFactoryOptions) => TestingModuleBuilder;
useClass: (metatype: any) => TestingModuleBuilder;
}