Skip to content

Commit 3241777

Browse files
authored
fix(test): replace structuredClone with spread for process.env (anomalyco#14908)
1 parent 36197f5 commit 3241777

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/test/ide/ide.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, expect, test, afterEach } from "bun:test"
22
import { Ide } from "../../src/ide"
33

44
describe("ide", () => {
5-
const original = structuredClone(process.env)
5+
const original = { ...process.env }
66

77
afterEach(() => {
88
Object.keys(process.env).forEach((key) => {

0 commit comments

Comments
 (0)