Skip to content

Commit

Permalink
fix: add XMLSerializer to the global scope (#7101)
Browse files Browse the repository at this point in the history
  • Loading branch information
maerteijn authored Apr 13, 2022
1 parent 940e436 commit ce97e62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@vue/cli-plugin-unit-mocha/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ window.Date = Date
global.ShadowRoot = window.ShadowRoot

global.SVGElement = window.SVGElement

// https://github.com/vuejs/test-utils/issues/1253
global.XMLSerializer = window.XMLSerializer

0 comments on commit ce97e62

Please sign in to comment.