Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Releases: grammarly/tape-enzyme

Add hooks to Tape

01 Aug 15:17
Compare
Choose a tag to compare

With its default “BDD”-style interface, Tape provides the hooks before(), after(), beforeEach(), and afterEach(). These should be used to set up preconditions and clean up after your tests.

Add chain feature

02 Sep 15:15
Compare
Choose a tag to compare

Add ability to write test in chain style:

wrapper
    .isSelector('.child')
    .hasClass('child')
    .type('span')
    .checkName('span')
    .checkKey('2')
    .text('First Child')

Tape Enzyme Wrapper

02 Sep 15:00
Compare
Choose a tag to compare

Has three types of testing utils:

  • Simple - common test methods
  • Enzyme - enzyme test methods
  • Wrapper - new way of testing with tape