refactor(testing): move common testing logic into test_injector

Before, all test framework wrappers (internal for dart and js/ts,
angular2_test for dart and testing for js/ts) had similar logic to
keep track of current global test injector and test provider list.
This change wraps that logic into one class managed by the test
injector.

Closes #5920
This commit is contained in:
Julie Ralph
2015-12-08 19:03:21 -08:00
parent 630d93150a
commit e748adda2e
13 changed files with 120 additions and 94 deletions

View File

@ -5,7 +5,6 @@ import {
it,
expect,
beforeEach,
createTestInjectorWithRuntimeCompiler,
beforeEachProviders,
SpyObject,
proxy

View File

@ -5,7 +5,6 @@ import {
it,
expect,
beforeEach,
createTestInjectorWithRuntimeCompiler,
beforeEachProviders,
SpyObject,
proxy