Sha256: 2ab646a59477b866d36ef5ffeb585f42d47b6d7aac9288da97df0c4875ce4728

Contents?: true

Size: 437 Bytes

Versions: 152

Compression:

Stored size: 437 Bytes

Contents

import HelloWorld from './hello-world';

describe('Hello World', () => {
  const helloWorld = new HelloWorld();

  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!');
  });
});

Version data entries

152 entries across 152 versions & 1 rubygems

Version Path
trackler-2.0.6.16 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.15 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.14 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.13 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.12 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.11 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.10 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.9 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.8 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.7 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.6 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.5 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.4 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.3 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.2 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.1 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.5.18 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.5.17 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.5.16 tracks/ecmascript/exercises/hello-world/hello-world.spec.js