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:
@ -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',
|
||||
|
Reference in New Issue
Block a user