From 97bbcee3d449b5cbde73756c56862c48db1db488 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Tue, 3 May 2022 08:44:29 -0400 Subject: [PATCH] test(utils): Remove usage of testOnlyIfNodeVersionAtLeast(8) We do not support Node 6 anymore, so we don't need to guard against running on Node 6 in the tests. --- packages/utils/test/normalize.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/utils/test/normalize.test.ts b/packages/utils/test/normalize.test.ts index a9702d133897..756020b403de 100644 --- a/packages/utils/test/normalize.test.ts +++ b/packages/utils/test/normalize.test.ts @@ -5,7 +5,6 @@ import * as isModule from '../src/is'; import { normalize } from '../src/normalize'; import * as stacktraceModule from '../src/stacktrace'; -import { testOnlyIfNodeVersionAtLeast } from './testutils'; describe('normalize()', () => { describe('acts as a pass-through for simple-cases', () => { @@ -48,7 +47,7 @@ describe('normalize()', () => { }); }); - testOnlyIfNodeVersionAtLeast(8)('extracts data from `Event` objects', () => { + describe('extracts data from `Event` objects', () => { const isElement = jest.spyOn(isModule, 'isElement').mockReturnValue(true); const getAttribute = () => undefined;