From 7cd1c93aec1e7ed7decb5570f6cb48dbb49ca28a Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Thu, 28 Oct 2021 22:39:00 +0300 Subject: [PATCH] version-test: fix validation of `versionInfo.preReleaseTag` --- src/__tests__/version-test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/version-test.ts b/src/__tests__/version-test.ts index 7dd369c054..da40427b5b 100644 --- a/src/__tests__/version-test.ts +++ b/src/__tests__/version-test.ts @@ -20,7 +20,7 @@ describe('Version', () => { // istanbul ignore next (Can't be verified on all versions) switch (preReleaseTag?.split('.').length) { - case null: + case undefined: break; case 2: expect(preReleaseTag).to.match(