Skip to content

Commit 3d6f4b0

Browse files
Copilotleecalcote
andcommitted
Simplify assertion - Cypress handles return automatically
Co-authored-by: leecalcote <7570704+leecalcote@users.noreply.github.com>
1 parent 81c155b commit 3d6f4b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cypress-action/cypress/e2e/e2e/loadDesign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const captureSnapshot = ({ window, designId, theme }) => {
5151

5252
// Wait for cytoscape instance to be available
5353
cy.window().should((win) => {
54-
return expect(win.cyto).to.exist;
54+
expect(win.cyto).to.exist;
5555
});
5656

5757
cy.window().then((win) => {

0 commit comments

Comments
 (0)