Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Await assert.rejects in box tests #4749

Merged
merged 2 commits into from
Feb 17, 2022
Merged

Await assert.rejects in box tests #4749

merged 2 commits into from
Feb 17, 2022

Conversation

cds-amal
Copy link
Member

This PR awaits assert.rejects as per spec.

assert.rejects is a promise and should be awaited.
Copy link
Contributor

@haltman-at haltman-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Amal!

@@ -43,10 +43,11 @@ describe("utils", () => {
},
message: errorMessage
};
let url;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes! How was this missing...?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants