Files
Abhas a7007048ab Initial structure
Generated with node-typescript-webpack
2018-06-21 15:06:07 +05:30

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();
});