mirror of
https://github.com/bendtherules/react-vis-gridarea.git
synced 2026-08-18 13:51:59 +00:00
10 lines
233 B
TypeScript
10 lines
233 B
TypeScript
const mockWind = jest.fn<Window>();
|
|
const anyGlobal = global as any;
|
|
anyGlobal.window = new mockWind();
|
|
|
|
import * as index from '../src/index';
|
|
|
|
test('Should have Greeter available', () => {
|
|
expect(index.Greeter).toBeTruthy();
|
|
});
|