angular/modules/angular2/test
Victor Berchet 33b5ba863e feat(tests): add a test injector
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();
  });
2015-03-13 18:20:02 +01:00
..
change_detection feat(change_detection): implement hydration/dehydration 2015-03-02 13:28:39 -08:00
core feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
di feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
directives feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
dom feat(compiler): DOM adapters + html5lib implementation; misc fixes 2015-02-27 16:49:14 -08:00
facade feat(RegExp): expose match indexes in Dart 2015-02-26 19:32:49 +01:00
forms feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
mock feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
reflection chore(packaging): update import for the new file structure 2015-02-05 15:47:12 -08:00
services feat: introduce Title service 2015-03-09 22:17:28 +01:00
test_lib chore: Remove unused imports 2015-02-17 16:49:08 -08:00
transform chore(services): rename services. 2015-03-11 18:30:37 -07:00