Sha256: 8d0c9c5b131001db02feec3b0852235932ac48839d72b5daa45e69cd79d842f4

Contents?: true

Size: 447 Bytes

Versions: 129

Compression:

Stored size: 447 Bytes

Contents

import twoFer from './two-fer';

describe('twoFer()', () => {
  test('no name given', () => {
    const name = '';
    expect(twoFer(name)).toEqual('One for you, one for me.');
  });

  xtest('a name given', () => {
    const name = 'Alice';
    expect(twoFer(name)).toEqual('One for Alice, one for me.');
  });

  xtest('another name given', () => {
    const name = 'Bob';
    expect(twoFer(name)).toEqual('One for Bob, one for me.');
  });
});

Version data entries

129 entries across 129 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.179 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.178 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.177 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.176 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.175 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.174 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.173 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.172 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.171 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.170 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.169 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.167 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.166 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.165 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.164 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.163 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.162 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.161 tracks/ecmascript/exercises/two-fer/two-fer.spec.js
trackler-2.2.1.160 tracks/ecmascript/exercises/two-fer/two-fer.spec.js