Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Nov 9, 2023
1 parent 1a8df77 commit 36b918a
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions e2e-tests/adapters/cypress/e2e/remote-file.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,31 +162,6 @@ describe(
},
])
}

// {
// const imgElements = Array.from($imgs)

// const checkImages = Cypress.Promise.all(
// imgElements.map((img, index) => {
// return new Cypress.Promise((resolve, reject) => {
// const newImg = new Image()
// newImg.onload = () => {
// expect(newImg.naturalHeight).to.equal(
// [1229, 1478, 614][index]
// )
// resolve()
// }
// newImg.onerror = () => {
// reject(new Error("Image could not be loaded"))
// }
// newImg.src = img.getAttribute("src")
// })
// })
// )

// // Wait for all image checks to complete
// cy.wrap(checkImages).should("be.fulfilled")
// }
)
})

Expand Down

0 comments on commit 36b918a

Please sign in to comment.