首页 > 解决方案 > 开玩笑 - 如何并行运行 .each

问题描述

我目前正在使用 test.each,无论如何要并行而不是同步运行它们?

test.each`
  searchEngine                      |  keyword          | urlToVisit 
  ${'https://google.com/?num=100'}  | ${'aol'}          | ${'a[href="https://www.aol.com/"]'}         
  ${'https://google.com/?num=100'}  | ${'aol'}          | ${'a[href="https://www.aol.com/"]'}          
`('should search on google and navigate to domain', async ({

标签: jestjs

解决方案


推荐阅读