(key: string)
| 134 | } |
| 135 | |
| 136 | injectValue(key: string): any { |
| 137 | // inject has a very limiting type controlled by ProvidedContext |
| 138 | // some tests override it which causes the build to fail |
| 139 | return (inject as any)(key) |
| 140 | } |
| 141 | |
| 142 | async onBeforeRunTask(test: Task): Promise<void> { |
| 143 | if (this.cancelRun) { |