1
0
Fork 0

Add stacktrace from the exception to the output; the jasmine provided stacktrace is pretty useless here.

This commit is contained in:
Willi Goesgens 2015-03-02 14:55:08 +01:00
parent 8fc3fd2908
commit 80cc3a7c3e
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ describe("Foxx Manager", function() {
FoxxManager.install(app.name, mount); FoxxManager.install(app.name, mount);
FoxxManager.uninstall(mount); FoxxManager.uninstall(mount);
} catch(e) { } catch(e) {
expect(e).toBeUndefined("Could not install " + app.name); expect(e).toBeUndefined("Could not install " + app.name + " - \n" + e.stack);
try { try {
FoxxManager.uninstall(mount, { force: true }); FoxxManager.uninstall(mount, { force: true });
} catch(err) { } catch(err) {