[Promise] enable long stack traces for tests to improve debugging
This commit is contained in:
parent
3718e6bdf4
commit
bfb2b20ef5
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
var Bluebird = require('bluebird');
|
var Bluebird = require('bluebird');
|
||||||
require('ui/promises');
|
require('ui/promises');
|
||||||
|
|
||||||
|
Bluebird.longStackTraces();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* replace the Promise service with Bluebird so that tests
|
* replace the Promise service with Bluebird so that tests
|
||||||
* can use promises without having to call $rootScope.apply()
|
* can use promises without having to call $rootScope.apply()
|
||||||
|
|
Loading…
Reference in a new issue