MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / forceLoad

Function forceLoad

src/renderers/client/transforms.tsx:123–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121}
122
123export 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
128export function isMimeTypeSupported(mimeType: string): boolean {
129 const match = mimeTypeToImport.find((m) => m.mimeType === mimeType);

Callers

nothing calls this directly

Calls 3

mapMethod · 0.80
getComponentMethod · 0.80
allMethod · 0.45

Tested by

no test coverage detected