(from: string, moduleName: string)
| 73 | } |
| 74 | |
| 75 | shouldMockEsmSync(from: string, moduleName: string): MockDecision { |
| 76 | const moduleID = this.resolution.getEsmModuleId( |
| 77 | this.virtualEsmMocks, |
| 78 | from, |
| 79 | moduleName, |
| 80 | ); |
| 81 | return { |
| 82 | moduleID, |
| 83 | shouldMock: this.decideSync(from, moduleName, moduleID, 'esm'), |
| 84 | }; |
| 85 | } |
| 86 | |
| 87 | async shouldMockEsmAsync( |
| 88 | from: string, |
no test coverage detected