Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Dec 27, 2023
1 parent ca8a8e4 commit eb04570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default class MaputnikDriver {
return obj;
},
exampleFileUrl: () => {
return "http://localhost:8888/example-style.json";
return SERVER_ADDRESS + "example-style.json";
},
};

Expand Down Expand Up @@ -158,7 +158,7 @@ export default class MaputnikDriver {
styleStoreEqualToExampleFileData: () => {
cy.window().then((win: any) => {
const obj = this.get.styleFromWindow(win);
this.helper.get.fixture("example-style.json").should("deep.equal", obj);
this.helper.given.fixture("example-style.json", "file:example-style.json").should("deep.equal", obj);
});
},

Expand Down

0 comments on commit eb04570

Please sign in to comment.