mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 01:11:25 +00:00
Migrated Hosted Explorer to React (#360)
Co-authored-by: Victor Meng <vimeng@microsoft.com> Co-authored-by: Steve Faulkner <stfaul@microsoft.com>
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import Adapter from "enzyme-adapter-react-16";
|
||||
import { configure } from "enzyme";
|
||||
import "jest-canvas-mock";
|
||||
import { initializeIcons } from "office-ui-fabric-react";
|
||||
configure({ adapter: new Adapter() });
|
||||
initializeIcons();
|
||||
|
||||
if (typeof window.URL.createObjectURL === "undefined") {
|
||||
Object.defineProperty(window.URL, "createObjectURL", { value: () => {} });
|
||||
|
||||
Reference in New Issue
Block a user