Lines Matching refs:promise
27 init: common.mustCall((promise, parent) => {
28 init = promise;
31 before: common.mustCall((promise) => {
32 before = promise;
34 after: common.mustCall((promise) => {
35 after = promise;
37 settled: common.mustCall((promise) => {
38 settled = promise;
58 // After calling `Promise.resolve(...)`, the returned promise should have
63 // When a callback to `promise.then(...)` is called, the promise it resolves
67 // After calling `promise.then(...)`, the returned promise should have
68 // produced an init event with a parent of the promise the `then(...)`
74 // `child` promise, there should have been both a before event for this
75 // promise but also settled and after events for the `child` promise.
79 // After calling `promise.then(...)`, the returned promise should have
80 // produced an init event with a parent of the promise the `then(...)`