Skip to content

Commit a200d28

Browse files
committed
test: remove unnecessary cypress changes
These changes were introduced perhaps to try to ensure that the result was chainable, by Cypress handles that already.
1 parent 98f2eeb commit a200d28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cypress/support/commands.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,10 @@ Cypress.Commands.add(
196196
})
197197
}
198198
if (doCreateClient) {
199-
return createClient(client).then(run)
199+
createClient(client).then(run)
200+
return
200201
}
201-
return run(client)
202+
run(client)
202203
},
203204
)
204205

0 commit comments

Comments
 (0)