Lines Matching refs:value
15 promise.then(common.mustCall((value) => {
16 assert.deepStrictEqual(value, fs.statSync(__filename));
85 promisify(fn)().then(common.mustCall((value) => {
86 assert.strictEqual(value, 'foo');
94 promisify(fn)().then(common.mustCall((value) => {
95 assert.strictEqual(value, undefined);
103 promisify(fn)().then(common.mustCall((value) => {
104 assert.strictEqual(value, undefined);
112 promisify(fn)(null, 42).then(common.mustCall((value) => {
113 assert.strictEqual(value, 42);
132 const value = await promisify(fn)(null, 42);
133 assert.strictEqual(value, 42);