Hey Gal, I can see why the tagged template data table might feel less readable, it’s something that is inspired by Groovy’s Spock testing library that has support for data tables natively (not as a template).
Jest.each also supports arrays, much like your forEach example, with title interpolation built in, which actually…
Great article Liran Tal 👏
If you are using babel as part of your setup you can also automate the
expect.hasAssertions() calls with babel-jest-assertions giving every test assertions safety 😃