import FusionGrid from '../../src/public-api/grid'; // const dataStore = new DataStore(), // dataTable = dataStore.createDataTable(data5rows, schema, { // enableIndex: false // }); let conatiner: HTMLElement; describe('Grid creation', () => { it('throws error if no argument is provided in constructor', () => { expect(() => {new FusionGrid()}).toThrowError(); }); it('throws error if one argument is missing in constructor', () => { expect(() => {new FusionGrid(conatiner)}).toThrowError(); }); });