Skip to content
Snippets Groups Projects
Commit 16bcf9cd authored by Cam Saul's avatar Cam Saul
Browse files

Prettier

parent a7726e1e
No related branches found
No related tags found
No related merge requests found
......@@ -254,8 +254,8 @@ export function setupDummySMTP() {
}
export function expectedRouteCalls({ route_alias, calls } = {}) {
const requestsCount = alias =>
cy.state("requests").filter(req => req.alias === alias);
const requestsCount = alias =>
cy.state("requests").filter(req => req.alias === alias);
// It is hard and unreliable to assert that something didn't happen in Cypress
// This solution was the only one that worked out of all others proposed in this SO topic: https://stackoverflow.com/a/59302542/8815185
cy.get("@" + route_alias).then(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment