GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: generate · ildella/opencode@c81cd32

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/opencode/test/server
    • httpapi-v2-pty.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/opencode/test/server/httpapi-v2-pty.test.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/test/server/httpapi-v2-pty.test.ts
+5-6Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ describe("v2 pty HttpApi", () => {
174174
expect(removed.status).toBe(204)
175175
}),
176176
)
177-
178177
;(process.platform === "win32" ? effectIt.live.skip : effectIt.live)(
179178
"applies plugin shell environment before forced PTY values",
180179
() =>
@@ -210,10 +209,7 @@ describe("v2 pty HttpApi", () => {
210209
directoryHeader(dir),
211210
HttpClientRequest.bodyJson({
212211
command: "/bin/sh",
213-
args: [
214-
"-c",
215-
'printf "%s|%s|%s|%s|%s\\n" "$CALLER" "$SHARED" "$PLUGIN" "$TERM" "$HOOK_CWD"; sleep 5',
216-
],
212+
args: ["-c", 'printf "%s|%s|%s|%s|%s\\n" "$CALLER" "$SHARED" "$PLUGIN" "$TERM" "$HOOK_CWD"; sleep 5'],
217213
cwd,
218214
env: { CALLER: "caller", SHARED: "caller", TERM: "caller" },
219215
}),
@@ -231,7 +227,10 @@ describe("v2 pty HttpApi", () => {
231227
.runRaw((message) =>
232228
Queue.offer(messages, typeof message === "string" ? message : new TextDecoder().decode(message)),
233229
)
234-
.pipe(Effect.catch(() => Effect.void), Effect.forkScoped)
230+
.pipe(
231+
Effect.catch(() => Effect.void),
232+
Effect.forkScoped,
233+
)
235234
const write = yield* socket.writer
236235

237236
const takeUntil = (expected: string, seen = ""): Effect.Effect<string, unknown> =>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.