Skip to content

Commit

Permalink
Allow data- and relative URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkleemans committed Nov 20, 2023
1 parent 586c48a commit 1a938de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 1a938de

Please sign in to comment.