Skip to content

v28.1.0 (Jan 17, 2021)

Compare
Choose a tag to compare
@connectdotz connectdotz released this 17 Jan 21:45
· 53 commits to master since this release
2f74cee

This release finally closes the gap of parameterized test support for the source parsers. It should have no problem recognizing any variation of the parameterized test and describe blocks.

Change Overview

  • detect both jest ".each" syntax (template literals and array-of-array) for test and describe blocks
  • unresolved test name will return a generic token instead of raises an exception.

Migration Note

There is a known issue that parameterized tests have incorrect locations (jestjs/jest#10412). The fix (jestjs/jest#10413) was merged in jest-26.5.0. Therefore, the minimal jest version for projects with parameterized tests should be >= 26.5.0

Contributors 🙏

@TheSench, @connectdotz