Skip to content

v0.4.0

Compare
Choose a tag to compare
@mattphillips mattphillips released this 01 May 00:15

Minor

  • Add Tagged Template Literal support:
each`
  a    | b    | expected
  ${1} | ${1} | ${2}
  ${1} | ${2} | ${3}
  ${2} | ${1} | ${3}
`.test('returns $expected when adding $a to $b', ({ a, b, expected }) => {
  expect(a + b).toBe(expected);
});
  • Add table of contents
  • Add new demos
  • Remove unnecessary tests