From ddaf731d64c881b0a024bf98c53e8fdbce4bac64 Mon Sep 17 00:00:00 2001 From: Ivan Gagarinov Date: Thu, 28 Mar 2024 15:02:50 +0500 Subject: [PATCH] fix lint errors --- __tests__/packageChecker.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/packageChecker.test.js b/__tests__/packageChecker.test.js index e0db71f..dbe45f1 100644 --- a/__tests__/packageChecker.test.js +++ b/__tests__/packageChecker.test.js @@ -33,7 +33,7 @@ describe('test projects with correct package name', () => { test.each(verifiableProjects)('%s', (sourceLang) => { expect(() => checkPackageName(codePath, sourceLang)) - .not.toThrowError(); + .not.toThrow(); }); }); @@ -42,7 +42,7 @@ describe('test projects with wrong package name', () => { test.each(verifiableProjects)('%s', (sourceLang) => { expect(() => checkPackageName(codePath, sourceLang)) - .toThrowError(/^Package name should be .+ instead of wrong-package-name$/); + .toThrow(/^Package name should be .+ instead of wrong-package-name$/); }); }); @@ -51,6 +51,6 @@ describe('test not verifiable projects', () => { test.each(notVerifiableProjects)('%s', (sourceLang) => { expect(() => checkPackageName(codePath, sourceLang)) - .not.toThrowError(); + .not.toThrow(); }); });