Drop IE11 Support (#476)

This commit is contained in:
Steve Faulkner
2021-03-29 13:31:52 -05:00
committed by GitHub
parent 4c2f22c2b1
commit 9108c01e62
10 changed files with 35 additions and 293 deletions

View File

@@ -1,7 +1,8 @@
import Adapter from "enzyme-adapter-react-16";
import { configure } from "enzyme";
import Adapter from "enzyme-adapter-react-16";
import "jest-canvas-mock";
import { initializeIcons } from "office-ui-fabric-react";
import { TextDecoder, TextEncoder } from "util";
configure({ adapter: new Adapter() });
initializeIcons();
@@ -13,3 +14,5 @@ if (typeof window.URL.createObjectURL === "undefined") {
(<any>window).$ = (<any>window).jQuery = require("jquery");
(<any>global).$ = (<any>global).$.jQuery = require("jquery");
require("jquery-ui-dist/jquery-ui");
(<any>global).TextEncoder = TextEncoder;
(<any>global).TextDecoder = TextDecoder;