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
I ran into an issue with not being able to run it.each or test.each in a fakeAsync zone. This sample test
it.each([[1]])('should be equal', fakeAsync((val) => {
expect(val).toEqual(val);
}));
results in the following error
Expected to be running in 'ProxyZone', but it was not found.
at Function.Object.<anonymous>.ProxyZoneSpec.assertPresent (../node_modules/zone.js/dist/proxy.js:42:19)
After some investigation it turns out that describe.each does work so as a test I modified the zone-patch file by adding
I am a little confused as to why the describe blocks were patched but the other blocks weren't. Was there a reason?
I could submit a pull request for this once I understand if this is the correct fix.
The text was updated successfully, but these errors were encountered:
I ran into an issue with not being able to run it.each or test.each in a
fakeAsync
zone. This sample testresults in the following error
After some investigation it turns out that describe.each does work so as a test I modified the zone-patch file by adding
and then changing line 96 from
to
This fixed the issue.
I am a little confused as to why the
describe
blocks were patched but the other blocks weren't. Was there a reason?I could submit a pull request for this once I understand if this is the correct fix.
The text was updated successfully, but these errors were encountered: