(original?: Procedure | Constructable)
| 656 | } |
| 657 | |
| 658 | function getDefaultConfig(original?: Procedure | Constructable): MockConfig { |
| 659 | return { |
| 660 | mockImplementation: undefined, |
| 661 | mockOriginal: original, |
| 662 | mockName: 'vi.fn()', |
| 663 | onceMockImplementations: [], |
| 664 | } |
| 665 | } |
| 666 | |
| 667 | function getDefaultState(): MockContext { |
| 668 | const state = { |
no outgoing calls
no test coverage detected