* Emulates a failed dynamic import promise.
()
| 83 | * Emulates a failed dynamic import promise. |
| 84 | */ |
| 85 | function failedDynamicImport(): Promise<void> { |
| 86 | return new Promise((_, reject) => { |
| 87 | setTimeout(() => reject()); |
| 88 | }); |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Helper function to await all pending dynamic imports |
no test coverage detected