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.52 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.51 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.50 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.49 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.48 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.47 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.46 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.45 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.44 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.43 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.42 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.41 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.40 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.39 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.38 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.37 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.36 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.35 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.34 tracks/ecmascript/exercises/hello-world/hello-world.spec.js
trackler-2.0.8.33 tracks/ecmascript/exercises/hello-world/hello-world.spec.js