Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
HaaLeo committed Feb 23, 2025
1 parent 61353bc commit 1e1d8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/publish.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('publish', () => {

it('should throw if publishing to Open VSX registry has failed', async () => {
const failReason = 'some reason.';
const failedPromise = await Promise.allSettled([Promise.resolve(0), Promise.reject(failReason)]);
const failedPromise = await Promise.allSettled([Promise.resolve(0), Promise.reject(new Error(failReason))]);
publishOpenVSXStub.resolves(failedPromise);

await expect(
Expand Down

0 comments on commit 1e1d8d7

Please sign in to comment.