(path: string)
| 72 | } |
| 73 | |
| 74 | getDirectories(path: string): string[] { |
| 75 | const dir = this.getEntry(path); |
| 76 | if (typeof dir !== 'object') { |
| 77 | return []; |
| 78 | } else { |
| 79 | return Object.keys(dir).filter((key) => typeof dir[key] === 'object'); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | override(files: Entry) { |
| 84 | return new MockAotContext(this.currentDirectory, files, ...this.files); |
no test coverage detected