| D | test-sync-io-option.js | 1 'use strict'; 7 // Test that --trace-sync-io works. In particular, a warning should be printed 9 // turn, and no warnings should occur when it is disabled or synchronous I/O 12 if (process.argv[2] === 'late-sync-io') { 17 } else if (process.argv[2] === 'early-sync-io') { 23 for (const { execArgv, variant, warnings } of [ field 24 { execArgv: ['--trace-sync-io'], variant: 'late-sync-io', warnings: 1 }, property 25 { execArgv: [], variant: 'late-sync-io', warnings: 0 }, property 26 { execArgv: ['--trace-sync-io'], variant: 'early-sync-io', warnings: 0 }, property 27 { execArgv: [], variant: 'early-sync-io', warnings: 0 }, property [all …]
|