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.0.1 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.0.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.4.1 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.4.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.3.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.2.1 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.2.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.1.2 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.1.1 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.1.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.0.1 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-1.0.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js