summary refs log tree commit diff stats
path: root/javascript/two-fer/two-fer.spec.js
blob: 1c39a36556c3fbf541defba677bf1a40bba56f23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { twoFer } from './two-fer';

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

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

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