feat(test): add angular2_testing dart library

angular2_testing is a user-facing dart test library built on top of
the package:test dart unittest framework and runner. For usage,
see modules_dart/angular2_testing/README.md.

Closes #3289
This commit is contained in:
Julie Ralph
2015-07-15 17:18:06 -07:00
committed by Jeremy Elbourn
parent d90a2269f9
commit 93a1ec29e1
6 changed files with 307 additions and 3 deletions

View File

@ -37,8 +37,8 @@ export class MockLocationStrategy extends LocationStrategy {
var url = path + (query.length > 0 ? ('?' + query) : '');
this.internalPath = url;
var external = this.prepareExternalUrl(url);
this.urlChanges.push(external);
var externalUrl = this.prepareExternalUrl(url);
this.urlChanges.push(externalUrl);
}
onPopState(fn: (value: any) => void): void { ObservableWrapper.subscribe(this._subject, fn); }