Clean - Remove useless scaffolded files + Fix index export

This commit is contained in:
2019-12-15 16:41:56 +05:30
parent 3f42dd0222
commit c75171de7b
4 changed files with 3 additions and 20 deletions
-6
View File
@@ -1,6 +0,0 @@
import { Greeter } from '../src/greeter';
test('Should greet with message', () => {
const greeter = new Greeter('friend');
expect(greeter.greet()).toBe('Bonjour, friend!');
});
+2 -2
View File
@@ -1,5 +1,5 @@
import * as index from '../src/index';
test('Should have Greeter available', () => {
expect(index.Greeter).toBeTruthy();
test('Should have render available', () => {
expect(index.render).toBeTruthy();
});