mirror of
https://github.com/bendtherules/tbl.git
synced 2026-08-18 13:51:55 +00:00
Generate project with yo node-typescript, modifes gitignore by hand
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,5 @@
|
||||
import * as index from '../src/index';
|
||||
|
||||
test('Should have Greeter available', () => {
|
||||
expect(index.Greeter).toBeTruthy();
|
||||
});
|
||||
Reference in New Issue
Block a user