()
| 54 | } |
| 55 | |
| 56 | extend(): MockFileSystemBuilder { |
| 57 | const builder = new MockFileSystemBuilder(); |
| 58 | Array.from(this.resources.keys()).forEach((path) => { |
| 59 | const res = this.resources.get(path)!; |
| 60 | if (res.hashThisFile) { |
| 61 | builder.addFile(path, res.contents, res.headers); |
| 62 | } else { |
| 63 | builder.addUnhashedFile(path, res.contents, res.headers); |
| 64 | } |
| 65 | }); |
| 66 | return builder; |
| 67 | } |
| 68 | |
| 69 | list(): string[] { |
| 70 | return Array.from(this.resources.keys()); |
no test coverage detected