mirror of
https://github.com/bendtherules/github-delete-unused-repos.git
synced 2026-08-18 13:52:59 +00:00
Initial commit
Contains basic working logic to find unused repos and show in console
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { Greeter } from '../src/greeter';
|
||||
|
||||
test('Should greet with message', () => {
|
||||
const greeter = new Greeter('friend');
|
||||
expect(greeter.greet()).toBe('Bonjour, friend!');
|
||||
});
|
||||
@@ -0,0 +1,9 @@
|
||||
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();
|
||||
});
|
||||
Reference in New Issue
Block a user