fix(facade): change EventEmitter to be sync by default (#8761)

This commit is contained in:
Rob Wormald
2016-05-26 09:34:04 -07:00
committed by Miško Hevery
parent cf1122cf9e
commit e5904f4089
5 changed files with 31 additions and 36 deletions

View File

@ -44,11 +44,12 @@ export function main() {
});
it('should normalize urls on popstate', inject([AsyncTestCompleter], (async) => {
locationStrategy.simulatePopState('/my/app/user/btford');
location.subscribe((ev) => {
expect(ev['url']).toEqual('/user/btford');
async.done();
})
});
locationStrategy.simulatePopState('/my/app/user/btford');
}));
it('should revert to the previous path when a back() operation is executed', () => {