Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

feat(zonespec): add a spec for synchronous tests #294

Merged
merged 1 commit into from
Apr 8, 2016

Conversation

vikerman
Copy link
Contributor

Will throw an exception if any asynchornous microtask or macrotask is scheduled. Allows event tasks to be scheduled.

Will throw an exception if any asynchornous microtask or macrotask is scheduled. Allows event tasks to be scheduled.
@juliemr
Copy link
Member

juliemr commented Mar 22, 2016

LGTM.

I spent a while thinking about whether we want to fail if a microtask is scheduled, or if that's too restrictive. But I think I like this commit the way it is, because you're ensuring that everything written in the test really has already run by the time we get to the end of the function.

@mhevery
Copy link
Contributor

mhevery commented Mar 24, 2016

LGTM

@mhevery mhevery merged commit 55da3d8 into angular:master Apr 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants