Lines Matching refs:warning
11 // Output is skipped if the argument to the 'warning' event is
14 process.emit('warning', 'test');
19 // Output is skipped if it's a deprecation warning and
29 // Type defaults to warning when the second argument is an object
31 process.once('warning', common.mustCall((warning) => {
32 assert.strictEqual(warning.name, 'Warning');
63 process.on('warning', (warning) => {
64 assert.strictEqual(warning.detail, 'foo');