mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fixes #614 Asynchronous test should inject an AsyncTestCompleter: Before: it("async test", (done) => { // ... done(); }); After: it("async test", inject([AsyncTestCompleter], (async) => { // ... async.done(); })); Note: inject() is currently a function and the first parameter is the array of DI tokens to inject as the test function parameters. This construct is linked to Traceur limitations. The planned syntax is: it("async test", @Inject (async: AsyncTestCompleter) => { // ... async.done(); }); |
||
|---|---|---|
| .. | ||
| pipeline | ||
| shadow_dom | ||
| compiler_browser_spec.js | ||
| compiler_common_tests.js | ||
| compiler_html5lib.server.spec.dart | ||
| component_url_mapper_spec.js | ||
| css_processor_spec.js | ||
| directive_metadata_reader_spec.js | ||
| element_injector_spec.js | ||
| integration_spec.js | ||
| selector_spec.js | ||
| shadow_dom_strategy_spec.js | ||
| style_inliner_spec.js | ||
| style_url_resolver_spec.js | ||
| template_loader_spec.js | ||
| url_resolver_spec.js | ||
| view_container_spec.js | ||
| view_pool_spec.js | ||
| view_spec.js | ||