angular-cn/modules/angular2/test/testing
Vikram Subramanian bab81a9831 feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js.
Update the version of zone.js to @0.6.12 that contains the new FakeAsyncTestZoneSpec.

The new fakeAsync zone handles errors better and clearPendingTimers() is no longer required to be called after handling an error and is deprecated.

The fakeAsync test zone will now throw an error if an XHR is attemtped within the test since that cannot be controlled synchronously in the test(Need to be mocked out with a service implementation that doesn't involve XHRs).

This commit also allows fakeAsync to wrap inject to make it consistent with async test zone.

BREAKING CHANGE:

inject can no longer wrap fakeAsync while fakeAsync can wrap inject. So the order in existing tests with inject and fakeAsync has to be switched as follows:

Before:
```
inject([...], fakeAsync((...) => {...}))
```

After:
```
fakeAsync(inject([...], (...) => {...}))
```

Closes #8142
2016-04-21 22:11:00 +00:00
..
static_assets fix(testing): remove test zone for now and rely on returned promises 2016-01-22 00:28:48 +00:00
fake_async_spec.ts feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js. 2016-04-21 22:11:00 +00:00
test_component_builder_spec.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
testing_internal_spec.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
testing_public_browser_spec.dart feat(tests): manage asynchronous tests using zones 2016-04-18 15:59:07 -07:00
testing_public_browser_spec.ts feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js. 2016-04-21 22:11:00 +00:00
testing_public_spec.dart refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
testing_public_spec.ts feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js. 2016-04-21 22:11:00 +00:00
utils_spec.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00