From a0f5e31aba10d107e6cb0e8109dba7d23e5c26a5 Mon Sep 17 00:00:00 2001 From: "Jules Sam. Randolph" Date: Sun, 13 Nov 2022 12:45:00 -0300 Subject: [PATCH] Remove dangling 'cleaned' variable --- tests/types.test.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/types.test.ts b/tests/types.test.ts index 497badf..a7b8737 100644 --- a/tests/types.test.ts +++ b/tests/types.test.ts @@ -274,14 +274,6 @@ test('cleanEnv', () => { expectTypeOf(cleanEnv(env, specs)).toMatchTypeOf() - const cleaned = cleanEnv(env, { - JSON_ANY: json(), - JSON_REQ_ANY: json({ default: {} as any }), - JSON_DEFAULT: json({ default: { foo: 'bar' } }), - JSON_DEV_DEFAULT: json({ devDefault: { foo: 'bar' } }), - JSON_DEFAULT_OPT: json<{ foo: 'bar' }>({ default: undefined }), - }) - // Should also work when specs inlined expectTypeOf( cleanEnv(env, {