(filePath: string, testString?: string)
| 174 | } |
| 175 | |
| 176 | public async testSolution(filePath: string, testString?: string): Promise<string> { |
| 177 | if (testString) { |
| 178 | return await this.executeCommandWithProgressEx("Submitting to LeetCode...", this.nodeExecutable, [await this.getLeetCodeBinaryPath(), "test", `"${filePath}"`, "-t", `${testString}`]); |
| 179 | } |
| 180 | return await this.executeCommandWithProgressEx("Submitting to LeetCode...", this.nodeExecutable, [await this.getLeetCodeBinaryPath(), "test", `"${filePath}"`]); |
| 181 | } |
| 182 | |
| 183 | public async switchEndpoint(endpoint: string): Promise<string> { |
| 184 | switch (endpoint) { |
no test coverage detected