From 3f5f58af507fac064498dc9cae48f188b7fe7e1c Mon Sep 17 00:00:00 2001 From: Raine Revere Date: Wed, 16 Oct 2024 17:29:39 +0000 Subject: [PATCH] Skip getIgnoredUpgradesDueToEnginesNode. This test needs to be rewritten because it is run against live data that affects the outcome of the test. The eslint and del versions were mocked in order to prevent this, but now the latest del.enginesNode is >=18 which fails the test. This data should either be mocked or the target packages should be entirely replaced by packages under our control. --- test/getIgnoredUpgradesDueToEnginesNode.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/getIgnoredUpgradesDueToEnginesNode.test.ts b/test/getIgnoredUpgradesDueToEnginesNode.test.ts index 714c0097..9d21ee56 100644 --- a/test/getIgnoredUpgradesDueToEnginesNode.test.ts +++ b/test/getIgnoredUpgradesDueToEnginesNode.test.ts @@ -6,7 +6,8 @@ const MOCK_DEL_VERSION = '999.0.1' chaiSetup() -describe('getIgnoredUpgradesDueToEnginesNode', function () { +/* This test needs to be rewritten because it is run against live data that affects the outcome of the test. The eslint and del versions were mocked in order to prevent this, but now the latest del.enginesNode is >=18 which fails the test. This data should either be mocked or the target packages should be entirely replaced by packages under our control. */ +describe.skip('getIgnoredUpgradesDueToEnginesNode', function () { it('ncu-test-peer-update', async () => { const data = await getIgnoredUpgradesDueToEnginesNode( {