@@ -27,7 +27,7 @@ export function main() {
|
||||
expect(text.trim()).toEqual('<p>hey</p>');
|
||||
async.done();
|
||||
});
|
||||
}));
|
||||
}), 10000);
|
||||
|
||||
it('should reject the Promise on failure', inject([AsyncTestCompleter], (async) => {
|
||||
PromiseWrapper.catchError(xhr.get(url404), (e) => {
|
||||
@@ -35,6 +35,6 @@ export function main() {
|
||||
async.done();
|
||||
return null;
|
||||
});
|
||||
}));
|
||||
}), 10000);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user