mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-01-24 01:40:24 +00:00
14 lines
510 B
TypeScript
14 lines
510 B
TypeScript
|
import Adapter from "enzyme-adapter-react-16";
|
||
|
import { configure } from "enzyme";
|
||
|
import "jest-canvas-mock";
|
||
|
configure({ adapter: new Adapter() });
|
||
|
|
||
|
if (typeof window.URL.createObjectURL === "undefined") {
|
||
|
Object.defineProperty(window.URL, "createObjectURL", { value: () => {} });
|
||
|
}
|
||
|
|
||
|
// TODO Remove when jquery and documentdbclient SDK are removed
|
||
|
(<any>window).$ = (<any>window).jQuery = require("jquery");
|
||
|
(<any>global).$ = (<any>global).$.jQuery = require("jquery");
|
||
|
require("jquery-ui-dist/jquery-ui");
|