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 committed 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
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.