exercism/typescript/hello-world/hello-world.test.ts

18 lines
390 B
TypeScript
Raw Normal View History

2017-08-15 15:04:10 +00:00
import HelloWorld from "./hello-world"
describe('Hello World', () => {
it('says hello world with no name', () => {
expect(HelloWorld.hello()).toEqual('Hello, World!')
})
xit('says hello to bob', () => {
expect(HelloWorld.hello('Bob')).toEqual('Hello, Bob!')
})
xit('says hello to sally', () => {
expect(HelloWorld.hello('Sally')).toEqual('Hello, Sally!')
})
})