Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dzencot committed Mar 28, 2024
1 parent 16ef5f8 commit ddaf731
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __tests__/packageChecker.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('test projects with correct package name', () => {

test.each(verifiableProjects)('%s', (sourceLang) => {
expect(() => checkPackageName(codePath, sourceLang))
.not.toThrowError();
.not.toThrow();
});
});

Expand All @@ -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$/);
});
});

Expand All @@ -51,6 +51,6 @@ describe('test not verifiable projects', () => {

test.each(notVerifiableProjects)('%s', (sourceLang) => {
expect(() => checkPackageName(codePath, sourceLang))
.not.toThrowError();
.not.toThrow();
});
});

0 comments on commit ddaf731

Please sign in to comment.