jasmine-core 3.99.0 → 3.99.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/jasmine-core/jasmine.js +15 -2
- package/package.json +2 -2
|
@@ -8656,7 +8656,10 @@ getJasmineRequireObj().QueueRunner = function(j$) {
|
|
|
8656
8656
|
maybeThenable = queueableFn.fn.call(self.userContext);
|
|
8657
8657
|
|
|
8658
8658
|
if (maybeThenable && j$.isFunction_(maybeThenable.then)) {
|
|
8659
|
-
maybeThenable.then(
|
|
8659
|
+
maybeThenable.then(
|
|
8660
|
+
wrapInPromiseResolutionHandler(next),
|
|
8661
|
+
onPromiseRejection
|
|
8662
|
+
);
|
|
8660
8663
|
completedSynchronously = false;
|
|
8661
8664
|
return { completedSynchronously: false };
|
|
8662
8665
|
}
|
|
@@ -8747,6 +8750,16 @@ getJasmineRequireObj().QueueRunner = function(j$) {
|
|
|
8747
8750
|
}
|
|
8748
8751
|
};
|
|
8749
8752
|
|
|
8753
|
+
function wrapInPromiseResolutionHandler(fn) {
|
|
8754
|
+
return function(maybeArg) {
|
|
8755
|
+
if (j$.isError_(maybeArg)) {
|
|
8756
|
+
fn(maybeArg);
|
|
8757
|
+
} else {
|
|
8758
|
+
fn();
|
|
8759
|
+
}
|
|
8760
|
+
};
|
|
8761
|
+
}
|
|
8762
|
+
|
|
8750
8763
|
return QueueRunner;
|
|
8751
8764
|
};
|
|
8752
8765
|
|
|
@@ -10749,5 +10762,5 @@ getJasmineRequireObj().UserContext = function(j$) {
|
|
|
10749
10762
|
};
|
|
10750
10763
|
|
|
10751
10764
|
getJasmineRequireObj().version = function() {
|
|
10752
|
-
return '3.99.
|
|
10765
|
+
return '3.99.1';
|
|
10753
10766
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jasmine-core",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "3.99.
|
|
4
|
+
"version": "3.99.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/jasmine/jasmine.git"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"grunt-css-url-embed": "^1.11.1",
|
|
46
46
|
"grunt-sass": "^3.0.2",
|
|
47
47
|
"jasmine": "^3.10.0",
|
|
48
|
-
"jasmine-browser-runner": "
|
|
48
|
+
"jasmine-browser-runner": "^0.10.0",
|
|
49
49
|
"jsdom": "^15.0.0",
|
|
50
50
|
"load-grunt-tasks": "^4.0.0",
|
|
51
51
|
"prettier": "1.17.1",
|