From 8b418a50a8e63f724c9fb990c6a2ed87190d2f2c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 7 Jun 2024 16:23:52 +0200 Subject: [PATCH] fix --- scripts/release/__tests__/version.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/release/__tests__/version.test.ts b/scripts/release/__tests__/version.test.ts index 0e9ecd5fb05..f9380f4b594 100644 --- a/scripts/release/__tests__/version.test.ts +++ b/scripts/release/__tests__/version.test.ts @@ -254,7 +254,6 @@ describe('Version', () => { await version({ releaseType, preId, exact, apply }); expect(fsExtra.writeJson).toHaveBeenCalledTimes(apply ? 3 : 2); if (apply) { - // eslint-disable-next-line jest/no-conditional-expect -- guarded against problems with the assertion above expect(fsExtra.writeJson).toHaveBeenCalledWith( CODE_PACKAGE_JSON_PATH, // this call is the write that removes the "deferredNextVersion" property