diff --git a/cypress/integration/spec.js b/cypress/integration/spec.js index 081e52c..8f19590 100644 --- a/cypress/integration/spec.js +++ b/cypress/integration/spec.js @@ -42,7 +42,7 @@ describe('Vite SVG Loader', () => { }) it('supports ?url param', () => { - cy.get('#url').contains(/^data:image\/svg\+xml/) + cy.get('#url').contains(/^data:image\/svg\+xml|^\/assets\/test\..+\.svg/) }) it('supports ?raw param', () => {