chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:47:58 +08:00
commit b16403ea71
789 changed files with 115226 additions and 0 deletions
@@ -0,0 +1,18 @@
import { expect } from 'vitest'
import { sandboxTest } from '../../setup'
sandboxTest('send input', async ({ sandbox }) => {
const terminal = await sandbox.pty.create({
cols: 80,
rows: 24,
onData: () => null,
})
await sandbox.pty.sendInput(
terminal.pid,
new Uint8Array(Buffer.from('exit\n'))
)
await terminal.wait()
expect(terminal.exitCode).toBe(0)
})