Skip to content

Commit 1e1d8d7

Browse files
committed
fix: linting
1 parent 61353bc commit 1e1d8d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/publish.test.ts

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

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

8686
await expect(

0 commit comments

Comments
 (0)