We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61353bc commit 1e1d8d7Copy full SHA for 1e1d8d7
test/publish.test.ts
@@ -80,7 +80,7 @@ describe('publish', () => {
80
81
it('should throw if publishing to Open VSX registry has failed', async () => {
82
const failReason = 'some reason.';
83
- const failedPromise = await Promise.allSettled([Promise.resolve(0), Promise.reject(failReason)]);
+ const failedPromise = await Promise.allSettled([Promise.resolve(0), Promise.reject(new Error(failReason))]);
84
publishOpenVSXStub.resolves(failedPromise);
85
86
await expect(
0 commit comments