Skip to content

Commit cebc221

Browse files
authored
Merge pull request #4 from imagekit-developer/IK-1701
Node version support and lazy loading changes
2 parents 0dd4d97 + 8e1aae2 commit cebc221

File tree

12 files changed

+1389
-554
lines changed

12 files changed

+1389
-554
lines changed

cypress/e2e/IKImage.cy.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe("ImageKit Next SDK", () => {
55
it("should have empty src before reaching lazyload threshold", () => {
66
cy.visit(APP_HOST);
77

8-
cy.get(".lazyload").should("have.attr", "src").and("equal", "");
8+
cy.get(".lazyload").should("not.have.attr", "src");
99
});
1010

1111
it("should have actual src after reaching lazyload threshold", () => {
@@ -23,7 +23,7 @@ describe("ImageKit Next SDK", () => {
2323
it("should have lqip src before reaching threshold", () => {
2424
cy.visit(APP_HOST);
2525

26-
cy.get(".lazyload-lqip").should("have.attr", "src").and("include", "");
26+
cy.get(".lazyload-lqip").should("not.have.attr", "src");
2727
});
2828

2929
it("should have actual src after reaching element", () => {

0 commit comments

Comments
 (0)