@wpkernel/e2e-utils v0.12.6-beta.3
@wpkernel/e2e-utils / IsolatedWorkspace
Interface: IsolatedWorkspace
Extends
Disposable
Properties
dispose()
ts
dispose: () => void | Promise<void>;Returns
void | Promise<void>
Inherited from
ts
Disposable.disposeenv
ts
readonly env: ProcessEnv;Normalised environment variables applied to spawned processes
root
ts
readonly root: string;Absolute path to the workspace root
run()
ts
run: (command, args?, options?) => Promise<CliTranscript>;Run a command within the workspace root.
Parameters
command
string
binary to execute
args?
string[]
optional command arguments
options?
spawn overrides
Returns
Promise<CliTranscript>
tools
ts
readonly tools: WorkspaceTools;Convenience accessor for pinned tooling
