fix(core/testing): show full error

test(platform-browser): update fail capture

test(platform-browser-dynamic): update fail capture
This commit is contained in:
PatrickJS
2016-06-20 17:54:12 -07:00
committed by Victor Berchet
parent 86405345b7
commit 297f0fd2c3
3 changed files with 13 additions and 6 deletions

View File

@ -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();