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:

committed by
Jeremy Elbourn

parent
d90a2269f9
commit
93a1ec29e1
@ -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); }
|
||||
|
Reference in New Issue
Block a user