We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bd7649 commit 23706f0Copy full SHA for 23706f0
package.json
@@ -96,6 +96,7 @@
96
"commitizen": "2.4.4",
97
"coveralls": "2.11.4",
98
"cz-conventional-changelog": "1.1.4",
99
+ "es6-promise": "^3.0.2",
100
"esdoc": "0.4.3",
101
"eslint": "1.5.1",
102
"fs-extra": "0.24.0",
spec/helpers/test-helper.js
@@ -135,6 +135,13 @@ afterEach(function () {
135
});
136
137
global.__root__ = root;
138
+
139
+ //setup promise polyfill for browsers does not supports it
140
+ if (!(root.Promise || root.Rx && root.Rx.config && root.Rx.config.Promise)) {
141
+ Rx.config = {
142
+ Promise: require('es6-promise').Promise
143
+ };
144
+ }
145
})();
146
147
global.lowerCaseO = function lowerCaseO() {
0 commit comments