()
| 121 | } |
| 122 | |
| 123 | export async function forceLoad() { |
| 124 | // Used for tests to make sure we don't end up with 'Loading ...' anywhere in a test |
| 125 | await Promise.all(mimeTypeToImport.map((m) => m.getComponent())); |
| 126 | } |
| 127 | |
| 128 | export function isMimeTypeSupported(mimeType: string): boolean { |
| 129 | const match = mimeTypeToImport.find((m) => m.mimeType === mimeType); |
nothing calls this directly
no test coverage detected