Skip to content

Commit 3dbe7c9

Browse files
committed
test(core): check a relative cwd resolves against the Location
1 parent 5fa0cc8 commit 3dbe7c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/core/test/shell-daemon.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe("Shell on the process daemon", () => {
7171
expect(request?.env).toMatchObject({ TERM: "xterm-256color", OPENCODE_TERMINAL: "1" })
7272
expect(request?.env).not.toHaveProperty("OPENCODE_TEST_REMOVED")
7373
expect(request?.env).not.toHaveProperty("OPENCODE_TEST_UNSET")
74-
expect(info).toMatchObject({ status: "running", pid: 1001 })
74+
expect(info).toMatchObject({ status: "running", pid: 1001, cwd: path.join(env.directory, "sub") })
7575
expect(shell.detachable(info.id)).toBe(true)
7676
expect(env.spawned()).toBe(0)
7777
expect(

0 commit comments

Comments
 (0)