()
| 32 | */ |
| 33 | export class DeferredContextMock { |
| 34 | public static create(): any { |
| 35 | const defer = createDefer(); |
| 36 | |
| 37 | return { |
| 38 | defer, |
| 39 | create: ( ...args: ConstructorParameters<typeof ContextMock> ) => defer.promise.then( () => new ContextMock( ...args ) ) |
| 40 | }; |
| 41 | } |
| 42 | } |
nothing calls this directly
no test coverage detected