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.8.11 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.10 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.9 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.8 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.7 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.6 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.5 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.4 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.3 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.2 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.1 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.7.0 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.44 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.43 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.42 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.41 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.40 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.39 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.38 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.6.37 tracks/ecmascript/exercises/hello-world/hello-world.spec.js