Skip to content

Commit ced56b2

Browse files
version-test: fix validation of versionInfo.preReleaseTag (#3345)
1 parent 2831917 commit ced56b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/version-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('Version', () => {
2020

2121
// istanbul ignore next (Can't be verified on all versions)
2222
switch (preReleaseTag?.split('.').length) {
23-
case null:
23+
case undefined:
2424
break;
2525
case 2:
2626
expect(preReleaseTag).to.match(

0 commit comments

Comments
 (0)