mirror of
https://github.com/bendtherules/github-delete-unused-repos.git
synced 2026-08-18 22:02:57 +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();
|
|
});
|