wisemapping-frontend/packages/mindplot/test/playground/layout/context-loader.js
2021-12-13 21:30:37 +00:00

18 lines
616 B
JavaScript

import TestSuite from './TestSuite';
import BalancedTestSuite from './BalancedTestSuite';
import SymmetricTestSuite from './SymmetricTestSuite';
import FreeTestSuite from './FreeTestSuite';
import Raphael from './lib/raphael-min';
import { drawGrid } from './lib/raphael-plugins';
import '../../../src'; // TODO: remove this when removing mootools (hack used to load it as a side effect)
global.Raphael = Raphael;
global.Raphael.fn.drawGrid = drawGrid;
window.addEventListener('DOMContentLoaded', () => {
new TestSuite();
new BalancedTestSuite();
new SymmetricTestSuite();
new FreeTestSuite();
});