default_test_opts and default_setup_opts both set console to integratedTerminal. When calling setup or test_method and passing in {console = nil} as options, integratedTerminal is still used. This is because vim.tbl_extend seems to overwrite the passed in option only if it is not nil.
default_test_opts
anddefault_setup_opts
both setconsole
tointegratedTerminal
. When callingsetup
ortest_method
and passing in{console = nil}
as options,integratedTerminal
is still used. This is becausevim.tbl_extend
seems to overwrite the passed in option only if it is notnil
.