fix(test): replace structuredClone with spread for process.env (#14908)

This commit is contained in:
Luke Parker
2026-02-24 23:16:24 +10:00
committed by GitHub
parent 36197f5ff8
commit 32417774c4

View File

@@ -2,7 +2,7 @@ import { describe, expect, test, afterEach } from "bun:test"
import { Ide } from "../../src/ide"
describe("ide", () => {
const original = structuredClone(process.env)
const original = { ...process.env }
afterEach(() => {
Object.keys(process.env).forEach((key) => {