Skip to content

Commit

Permalink
Merge branch 'work' into vp-update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 2, 2024
2 parents c49cb17 + fb96225 commit b3ee44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/tests/plugin-copy-code/copy-code.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('copy-code', () => {
cy.wrap(el).should('have.class', 'copied')
cy.window()
.then((win) => win.navigator.clipboard.readText())
.should('eq', `const a = 1\nconst b = 2\n`)
.should('match', /const a = 1\r?\nconst b = 2\r?\n/)

cy.window().then((win) => win.navigator.clipboard.writeText(''))
})
Expand Down

0 comments on commit b3ee44d

Please sign in to comment.