Ensure to return promise

This commit is contained in:
Mariusz Nowak 2019-05-22 10:14:08 +02:00
parent ad9810fbc9
commit 598fd4728e
No known key found for this signature in database
GPG Key ID: AA6F4CCD415BF299

View File

@ -104,7 +104,7 @@ describe('#getResourceCount()', () => {
outputs: [],
};
expect(awsInfo.getResourceCount()).to.be.fulfilled.then(() => {
return expect(awsInfo.getResourceCount()).to.be.fulfilled.then(() => {
expect(listStackResourcesStub.calledOnce).to.equal(true);
expect(listStackResourcesStub.calledWithExactly(
'CloudFormation',