fix(core/testing): show full error
test(platform-browser): update fail capture test(platform-browser-dynamic): update fail capture
This commit is contained in:

committed by
Victor Berchet

parent
86405345b7
commit
297f0fd2c3
@ -142,7 +142,8 @@ export function main() {
|
||||
itPromise.then(
|
||||
() => { done.fail('Expected test to fail, but it did not'); },
|
||||
(err) => {
|
||||
expect(err).toEqual('Uncaught (in promise): Failed to load non-existant.html');
|
||||
expect(err.message)
|
||||
.toEqual('Uncaught (in promise): Failed to load non-existant.html');
|
||||
done();
|
||||
});
|
||||
restoreJasmineIt();
|
||||
|
Reference in New Issue
Block a user