MCPcopy
hub / github.com/adobe/react-spectrum / resolve

Function resolve

packages/dev/s2-docs/S2DocsResolver.js:4–9  ·  view source on GitHub ↗
({dependency})

Source from the content-addressed store, hash-verified

2
3module.exports = new Resolver({
4 resolve({dependency}) {
5 // Ignore URL dependencies in MDX files.
6 if (dependency.sourcePath?.endsWith('.mdx') && dependency.isOptional) {
7 return {isExcluded: true};
8 }
9 }
10});

Callers 15

blobToStringFunction · 0.50
AsyncComponentFunction · 0.50
getItemsFunction · 0.50
getItems2Function · 0.50
getItemsEndFunction · 0.50
getFilterItemsFunction · 0.50
mockFirstCallFunction · 0.50
mockSecondCallFunction · 0.50
mockCallWithUpdatedTextFunction · 0.50
loadFunction · 0.50

Calls

no outgoing calls

Tested by 10

getItemsFunction · 0.40
getItems2Function · 0.40
getItemsEndFunction · 0.40
getFilterItemsFunction · 0.40
mockFirstCallFunction · 0.40
mockSecondCallFunction · 0.40
mockCallWithUpdatedTextFunction · 0.40
loadFunction · 0.40
runFixtureCLIFunction · 0.40
mockSecondCallFunction · 0.40