Sha256: faffb9964cc42dd4f1c0eafd491c6814b4248023f253a41b5bf8bb930364e2c4

Contents?: true

Size: 388 Bytes

Versions: 71

Compression:

Stored size: 388 Bytes

Contents

import HelloWorld from "./hello-world"

describe('Hello World', () => {

  it('says hello world with no name', () => {
    expect(HelloWorld.hello()).toEqual('Hello, World!')
  })

  it('says hello to bob', () => {
    expect(HelloWorld.hello('Bob')).toEqual('Hello, Bob!')
  })

  it('says hello to sally', () => {
    expect(HelloWorld.hello('Sally')).toEqual('Hello, Sally!')
  })
})

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
trackler-2.0.8.52 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.51 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.50 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.49 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.48 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.47 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.46 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.45 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.44 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.43 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.42 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.41 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.40 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.39 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.38 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.37 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.36 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.35 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.34 tracks/typescript/exercises/hello-world/hello-world.test.ts
trackler-2.0.8.33 tracks/typescript/exercises/hello-world/hello-world.test.ts