You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes you want to run a test multiple times. For that reason vitest-dev/vitest#2652 added the repeats option. This option should be preferable over for each number.
This rule is related to prefer-each, but should be used specifically, if the for loop encapsulates the entire method, runs on integers and the counter isn't used anywhere in the method.
The text was updated successfully, but these errors were encountered:
Sometimes you want to run a test multiple times. For that reason vitest-dev/vitest#2652 added the
repeats
option. This option should be preferable overfor each number
.This rule is related to
prefer-each
, but should be used specifically, if the for loop encapsulates the entire method, runs on integers and the counter isn't used anywhere in the method.The text was updated successfully, but these errors were encountered: