Skip to content

Commit

Permalink
Merge branch 'work' into copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 2, 2024
2 parents e63b561 + fb96225 commit 9d6da64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: e2e
on:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down
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 9d6da64

Please sign in to comment.