wisemapping-frontend/packages/mindplot/test/playground/layout/context-loader.js

18 lines
608 B
JavaScript
Raw Normal View History

2021-12-24 20:26:38 +01:00
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();
});