Skip to content

Commit

Permalink
fix: test cypress injection
Browse files Browse the repository at this point in the history
  • Loading branch information
flozero committed Dec 29, 2020
1 parent a0d1190 commit 2c03e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/cypress/integration/injection.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Snipcart', () => {
chai
.expect(html)
.contain(
'<link data-n-head="ssr" rel="stylesheet" href="https://cdn.snipcart.com/themes/v3.0.23/default/snipcart.css">'
'<link data-n-head="ssr" rel="stylesheet" href="https://cdn.snipcart.com/themes/v3.0/default/snipcart.css">'
);
})

Expand All @@ -33,7 +33,7 @@ describe('Snipcart', () => {

chai
.expect(html)
.contain('<script src="https://cdn.snipcart.com/themes/v3.0.23/default/snipcart.js"></script>');
.contain('<script src="https://cdn.snipcart.com/themes/v3.0/default/snipcart.js"></script>');

chai.expect(html).contain('<div id="snipcart" class="snipcart">');
})
Expand Down

0 comments on commit 2c03e04

Please sign in to comment.