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

pull/14916/head
Luke Parker 2026-02-24 23:16:24 +10:00 committed by GitHub
parent 36197f5ff8
commit 32417774c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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) => {