(distPath)
| 8 | |
| 9 | class 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'); |
nothing calls this directly
no outgoing calls
no test coverage detected