Sfoglia il codice sorgente

Merge pull request #16737 from overleaf/jel-sso-file

[web] Get SSO import data from File rather than FileReader

GitOrigin-RevId: 89de9c614024ab6a310a6226f59c5aa8c82c64e4
Jessica Lawshe 2 anni fa
parent
commit
71ca6f05b7
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      services/web/test/frontend/bootstrap.js

+ 2 - 0
services/web/test/frontend/bootstrap.js

@@ -136,3 +136,5 @@ const { addHook } = require('pirates')
 addHook(() => '', { exts: ['.css'], ignoreNodeModules: false })
 
 globalThis.HTMLElement.prototype.scrollIntoView = () => {}
+
+globalThis.DOMParser = window.DOMParser