test(subprocess): drop obsolete cwd stubs
This commit is contained in:
@@ -66,7 +66,6 @@ function terminalHandle(): SubprocessTerminalHandle {
|
||||
}
|
||||
|
||||
class StubSubprocessService extends SubprocessService {
|
||||
readonly cwd = '/tmp'
|
||||
async resolveExecutable(command: string): Promise<string> { return command }
|
||||
spawn(_spec: SubprocessSpawnSpec): SubprocessHandle { throw new Error('unused') }
|
||||
async spawnTerminal(_spec: SubprocessTerminalSpawnSpec): Promise<SubprocessTerminalHandle> {
|
||||
|
||||
@@ -16,8 +16,6 @@ import type {
|
||||
* is all an implementation owes the abstract class.
|
||||
*/
|
||||
class StubSubprocessService extends SubprocessService {
|
||||
readonly cwd = '/stub'
|
||||
|
||||
async resolveExecutable(command: string): Promise<string> {
|
||||
return `/bin/${command}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user