Skip to content

Commit ce97e62

Browse files
authored
fix: add XMLSerializer to the global scope (#7101)
1 parent 940e436 commit ce97e62

File tree

1 file changed

+3
-0
lines changed
  • packages/@vue/cli-plugin-unit-mocha

1 file changed

+3
-0
lines changed

packages/@vue/cli-plugin-unit-mocha/setup.js

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ window.Date = Date
66
global.ShadowRoot = window.ShadowRoot
77

88
global.SVGElement = window.SVGElement
9+
10+
// https://github.com/vuejs/test-utils/issues/1253
11+
global.XMLSerializer = window.XMLSerializer

0 commit comments

Comments
 (0)