Skip to content

Commit d26159e

Browse files
committed
Merge remote-tracking branch 'origin/master' into ryanm/chore/merge-master
2 parents 331e541 + 09bc8dc commit d26159e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

npm/vue/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [@cypress/vue-v3.1.2](https://github.com/cypress-io/cypress/compare/@cypress/vue-v3.1.1...@cypress/vue-v3.1.2) (2022-05-03)
2+
3+
4+
### Bug Fixes
5+
6+
* head content reset, fix [#19721](https://github.com/cypress-io/cypress/issues/19721) ([#21291](https://github.com/cypress-io/cypress/issues/21291)) ([77ab6a5](https://github.com/cypress-io/cypress/commit/77ab6a51a0de1929171a2275e9cec9580c57241d))
7+
18
# [@cypress/vue-v3.1.1](https://github.com/cypress-io/cypress/compare/@cypress/vue-v3.1.0...@cypress/vue-v3.1.1) (2022-02-10)
29

310

npm/vue/src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ type CyMountOptions<Props, Data = {}> = Omit<MountingOptions<Props, Data>, 'atta
3939
}
4040
} & Partial<StyleOptions>
4141

42-
let initialInnerHtml = ''
43-
4442
Cypress.on('run:start', () => {
4543
// `mount` is designed to work with component testing only.
4644
// it assumes ROOT_ID exists, which is not the case in e2e.
@@ -52,7 +50,6 @@ Cypress.on('run:start', () => {
5250
return
5351
}
5452

55-
initialInnerHtml = document.head.innerHTML
5653
Cypress.on('test:before:run', () => {
5754
Cypress.vueWrapper?.unmount()
5855
// @ts-ignore
@@ -64,7 +61,6 @@ Cypress.on('run:start', () => {
6461
}
6562

6663
el.innerHTML = ''
67-
document.head.innerHTML = initialInnerHtml
6864
})
6965
})
7066

0 commit comments

Comments
 (0)