(manifestFile: File)
| 61 | } |
| 62 | |
| 63 | async loadFile(manifestFile: File): Promise<boolean> { |
| 64 | let manifestResponse = await this.readFileAsync(manifestFile) |
| 65 | this.componentSet = JSON.parse(manifestResponse) as ComponentSet; |
| 66 | this.populateCaches(); |
| 67 | return true; |
| 68 | } |
| 69 | |
| 70 | async readFileAsync(file: File): Promise<string> { |
| 71 | return new Promise((resolve, reject) => { |
no test coverage detected