From b333dccee82f4328a65d0c3c45c7aa5c19255220 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 4 Sep 2024 11:04:06 +0200 Subject: feat(cli): give access to `process` global everywhere (#25291) --- tests/registry/npm/@denotest/globals/1.0.0/index.d.ts | 1 - tests/registry/npm/@denotest/globals/1.0.0/index.js | 5 ----- 2 files changed, 6 deletions(-) (limited to 'tests/registry') diff --git a/tests/registry/npm/@denotest/globals/1.0.0/index.d.ts b/tests/registry/npm/@denotest/globals/1.0.0/index.d.ts index 76dd781db..548633db1 100644 --- a/tests/registry/npm/@denotest/globals/1.0.0/index.d.ts +++ b/tests/registry/npm/@denotest/globals/1.0.0/index.d.ts @@ -15,7 +15,6 @@ type _TestHasProcessGlobal = AssertTrue< export function deleteSetTimeout(): void; export function getSetTimeout(): typeof setTimeout; -export function checkProcessGlobal(): void; export function checkWindowGlobal(): void; export function checkSelfGlobal(): void; diff --git a/tests/registry/npm/@denotest/globals/1.0.0/index.js b/tests/registry/npm/@denotest/globals/1.0.0/index.js index 64f913b37..542cb63d2 100644 --- a/tests/registry/npm/@denotest/globals/1.0.0/index.js +++ b/tests/registry/npm/@denotest/globals/1.0.0/index.js @@ -10,11 +10,6 @@ exports.getSetTimeout = function () { return globalThis.setTimeout; }; -exports.checkProcessGlobal = function () { - console.log("process" in globalThis); - console.log(Object.getOwnPropertyDescriptor(globalThis, "process") !== undefined); -}; - exports.checkWindowGlobal = function () { console.log("window" in globalThis); console.log(Object.getOwnPropertyDescriptor(globalThis, "window") !== undefined); -- cgit v1.2.3