fix(test): replace structuredClone with spread for process.env (#14908)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user