MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / constructor

Method constructor

tests/helpers/dist-checker.js:10–13  ·  view source on GitHub ↗
(distPath)

Source from the content-addressed store, hash-verified

8
9class CustomResourceLoader extends jsdom.ResourceLoader {
10 constructor(distPath) {
11 super();
12 this.distPath = distPath;
13 }
14
15 fetch(url) {
16 let content = fs.readFileSync(path.join(this.distPath, url.replace('file://./', '')), 'utf8');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected