angular-docs-cn/modules/@angular/forms/test
Miško Hevery 8a5eb08672 fix(fakeAsync): have fakeAsync use Proxy zone. (#10797)
Closes #10503

It is possible for code in `beforeEach` to capture and fork a zone
(for example creating `NgZone` in `beforeEach`). Subsequently the code
in `it` may chose to do `fakeAsync`. The issue is that because the
code in `it` can use `NgZone` from the `beforeEach`. it effectively can
escape the `fakeAsync` zone. A solution is to run all of the test in
`ProxyZone` which allows a test to dynamically replace the rules at any
time. This allows the `beforeEach` to fork a zone, and then `it` to
retroactively became `fakeAsync` zone.
2016-08-19 12:10:53 -07:00
..
directives_spec.ts feat(forms): allow both patching and strict setting of values (#10537) 2016-08-05 13:35:17 -07:00
form_array_spec.ts test(forms): refactor form model tests to three files (#10774) 2016-08-13 17:26:08 -07:00
form_builder_spec.ts chore(facade): remove most facade/async functions 2016-08-05 12:26:28 -07:00
form_control_spec.ts test(forms): refactor form model tests to three files (#10774) 2016-08-13 17:26:08 -07:00
form_group_spec.ts fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
reactive_integration_spec.ts test(forms): update reactive form integration tests to use TestBed (#10908) 2016-08-17 17:10:56 -07:00
spies.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
template_integration_spec.ts test(forms): update template-driven form tests to use testbed (#10830) 2016-08-15 16:37:59 -07:00
validators_spec.ts chore(facade): remove most facade/async functions 2016-08-05 12:26:28 -07:00