From 1c0f80fbacd6ef1f45987ce74908647a23eb7cf1 Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Fri, 12 Apr 2024 09:25:36 +0200 Subject: [PATCH] add test --- src/test/validation.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/validation.test.ts b/src/test/validation.test.ts index 893ddc81..5778ae99 100644 --- a/src/test/validation.test.ts +++ b/src/test/validation.test.ts @@ -73,6 +73,7 @@ describe('validateVersion', () => { assert.throws(() => validateVersion('0.1.')); assert.throws(() => validateVersion('0.0.0.1')); assert.throws(() => validateVersion('1.0-pre')); + assert.throws(() => validateVersion('pre')); }); });