(config: Config)
| 10 | tokenPromise: () => Promise<string>; |
| 11 | |
| 12 | constructor(config: Config) { |
| 13 | super(config); |
| 14 | this.tokenPromise = config.tokenPromise; |
| 15 | this.commitAuthor = config.commitAuthor; |
| 16 | this.repoURL = ''; |
| 17 | } |
| 18 | |
| 19 | withAuthorizationHeaders = async (req: ApiRequest) => { |
| 20 | const token = await this.tokenPromise(); |
nothing calls this directly
no outgoing calls
no test coverage detected