Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkleemans committed Nov 20, 2023
1 parent 1a938de commit c42338d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/spec.js
Expand Up @@ -42,7 +42,7 @@ describe('Vite SVG Loader', () => {
})

it('supports ?url param', () => {
cy.get('#url').contains(/^data:image\/svg\+xml|^\/assets\/test\..+\.svg/)
cy.get('#url').contains(/^data:image\/svg\+xml|^\/assets\/test.*\.svg/)
})

it('supports ?raw param', () => {
Expand Down

0 comments on commit c42338d

Please sign in to comment.