2017-01-10 12:54:12 +00:00
|
|
|
Checks that async chains for promises are correct.
|
|
|
|
|
|
|
|
Running test: testPromise
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
promise (test.js:19:14)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testPromise.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseResolvedBySetTimeout
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
promiseResolvedBySetTimeout (test.js:27:14)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testPromiseResolvedBySetTimeout.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseAll
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
promiseAll (test.js:37:35)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testPromiseAll.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseAllReverseOrder
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
promiseAllReverseOrder (test.js:48:35)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testPromiseAllReverseOrder.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseRace
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
promiseRace (test.js:59:36)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testPromiseRace.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testTwoChainedCallbacks
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
twoChainedCallbacks (test.js:68:14)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testTwoChainedCallbacks.js:0:0)
|
|
|
|
|
|
|
|
foo2 (test.js:13:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
twoChainedCallbacks (test.js:68:25)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testTwoChainedCallbacks.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testPromiseResolve
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
promiseResolve (test.js:74:27)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testPromiseResolve.js:0:0)
|
|
|
|
|
|
|
|
foo2 (test.js:13:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
promiseResolve (test.js:74:38)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testPromiseResolve.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedInSetTimeout
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
thenableJobResolvedInSetTimeout (test.js:86:40)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testThenableJobResolvedInSetTimeout.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedInSetTimeoutWithStack
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
thenableJobResolvedInSetTimeoutWithStack (test.js:104:40)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testThenableJobResolvedInSetTimeoutWithStack.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedByPromise
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
thenableJobResolvedByPromise (test.js:118:40)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testThenableJobResolvedByPromise.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testThenableJobResolvedByPromiseWithStack
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
thenableJobResolvedByPromiseWithStack (test.js:136:40)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testThenableJobResolvedByPromiseWithStack.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testLateThenCallback
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
lateThenCallback (test.js:145:12)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testLateThenCallback.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testComplex
|
|
|
|
inner1 (test.js:154:6)
|
|
|
|
foo1 (test.js:156:4)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
complex (test.js:202:5)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testComplex.js:0:0)
|
|
|
|
|
|
|
|
p.then (test.js:207:8)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
p.then (test.js:206:8)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.then --
|
2017-05-11 19:21:24 +00:00
|
|
|
setTimeout (test.js:205:6)
|
2017-01-10 12:54:12 +00:00
|
|
|
-- setTimeout --
|
2017-05-11 19:21:24 +00:00
|
|
|
complex (test.js:204:2)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testComplex.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testReject
|
|
|
|
foo1 (test.js:9:2)
|
2017-11-21 15:42:43 +00:00
|
|
|
-- Promise.catch --
|
2017-05-11 19:21:24 +00:00
|
|
|
reject (test.js:217:31)
|
2017-01-10 12:54:12 +00:00
|
|
|
(anonymous) (testReject.js:0:0)
|
|
|
|
|
2017-11-21 15:42:43 +00:00
|
|
|
|
|
|
|
Running test: testFinally1
|
|
|
|
foo1 (test.js:9:2)
|
|
|
|
-- Promise.finally --
|
|
|
|
finally1 (test.js:221:33)
|
|
|
|
(anonymous) (testFinally1.js:0:0)
|
|
|
|
|
|
|
|
|
|
|
|
Running test: testFinally2
|
|
|
|
foo1 (test.js:9:2)
|
|
|
|
-- Promise.finally --
|
|
|
|
finally2 (test.js:225:34)
|
|
|
|
(anonymous) (testFinally2.js:0:0)
|
|
|
|
|