Run the same Vitest assertion over a table with test.each
Use test.each to expand a single Vitest assertion into multiple isolated test cases from a data table, with readable names and normal filtering behavior.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use test.each to expand a single Vitest assertion into multiple isolated test cases from a data table, with readable names and normal filtering behavior.