feat(test): Add an external version of the test library

Adds test adapters for TypeScript and JavaScript only, exported
as part of the test_lib module. These work with the Jasmine test
framework, and allow use of the test injector within test blocks
via the `inject` function.

See #4572, #4177, #4035, #2783

This includes the TestComponentBuilder. It allows using the
test injector with Jasmine bindings, and waits for returned
promises before completing async test blocks.
This commit is contained in:
Julie Ralph
2015-10-08 15:33:17 -07:00
parent eb2c15786e
commit a1fa2e472f
12 changed files with 844 additions and 303 deletions

View File

@ -23,6 +23,7 @@ module.exports = function makeNodeTree(destinationPath) {
'angular2/test/animate/**',
'angular2/test/core/zone/**',
'angular2/test/test_lib/fake_async_spec.ts',
'angular2/test/test_lib/test_lib_public_spec.ts',
'angular2/test/core/compiler/xhr_impl_spec.ts',
'angular2/test/core/forms/**',
'angular2/test/tools/tools_spec.ts',