[Promise] enable long stack traces for tests to improve debugging

This commit is contained in:
spalger 2015-11-04 16:38:06 -06:00
parent 3718e6bdf4
commit bfb2b20ef5

View file

@ -1,6 +1,8 @@
var Bluebird = require('bluebird');
require('ui/promises');
Bluebird.longStackTraces();
/**
* replace the Promise service with Bluebird so that tests
* can use promises without having to call $rootScope.apply()