npm run testThe focused suite covers:
- the one-view manifest topology;
- native shell selection and PTY creation;
- input, output, resize, exit, and disposal;
- the host/webview message contract;
- one xterm.js instance and its configuration updates;
- extension activation with exactly one
WebviewViewProvider.
npx tsc -p tsconfig.json --noEmit
npm run compile:e2e
npm run lint
npm run packagenpm run test:e2eThe test uses a real VS Code Extension Development Host. It subscribes to the PTY start and output events before opening the ULW sidebar, then sends a deterministic printf command and verifies the emitted output. It also asserts that exactly one PTY exists.
- Run
npm run compile. - Press F5 in VS Code.
- Open the secondary sidebar and select ULW.
- Run
printf 'ulw-ok\n'. - Resize the sidebar and confirm the prompt continues to render across the full view.
- Close the Extension Development Host and confirm the shell process exits.