Generate project with yo node-typescript, modifes gitignore by hand

This commit is contained in:
Abhas Bhattacharya
2018-01-26 20:35:07 +05:30
parent c1b27b38cc
commit 12feed4fa7
17 changed files with 3370 additions and 7 deletions
+6
View File
@@ -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!');
});
+5
View File
@@ -0,0 +1,5 @@
import * as index from '../src/index';
test('Should have Greeter available', () => {
expect(index.Greeter).toBeTruthy();
});