Skip to content

Commit 9405371

Browse files
author
Sergii Kovalev
committed
CI exception fix
1 parent 77213a3 commit 9405371

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/updateAliasStack.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ describe('updateAliasStack', () => {
261261

262262
it('should resolve in case no updates are performed', () => {
263263
providerRequestStub.returns(BbPromise.resolve("done"));
264-
monitorStackStub.returns(BbPromise.reject(new Error('No updates are to be performed.')));
265-
264+
monitorStackStub.rejects(new Error('No updates are to be performed.'));
266265
return expect(awsAlias.updateAlias()).to.be.fulfilled
267266
.then(() => expect(providerRequestStub).to.have.been.calledOnce);
268267
});

0 commit comments

Comments
 (0)