Test wrapped in waitForAsync does not receive parameterized values from jest it.each #61717
Labels
area: testing
Issues related to Angular testing features, such as TestBed
area: zones
Issues related to zone.js
Milestone
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
When a parameterized jest test, with it.each is wrapped in a
waitForAsync
all the parameterized values are passed to the test asundefined
.If the test is not wrapped in
waitForAsync
the parameterized values are passed correctly.When using a normal array to iterate over parameters it seems to work fine.
Please provide a link to a minimal reproduction of the bug
https://github.com/timhonermann/it-each-wait-for-async-issue/blob/main/README.md
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: