Skip to main content

property RunOptions.inspectPort

Sets inspector port of test child process. This can be a number, or a function that takes no arguments and returns a number. If a nullish value is provided, each process gets its own port, incremented from the primary's process.debugPort. This option is ignored if the isolation option is set to 'none' as no child processes are spawned.

Type #

number
| (() => number)
| undefined

你找到了你需要的东西吗?

隐私政策