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