mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Ensure to return promise
This commit is contained in:
parent
ad9810fbc9
commit
598fd4728e
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user