fix(test): tv init should run with the development config, to properly parse keybindings

This commit is contained in:
lalvarezt 2025-07-22 12:48:24 +02:00
parent b8be7a94d8
commit 064e156271

View File

@ -70,7 +70,8 @@ fn tv_list_channels() {
/// This simply tests that the command exits successfully. /// This simply tests that the command exits successfully.
fn tv_init_zsh() { fn tv_init_zsh() {
let mut tester = PtyTester::new(); let mut tester = PtyTester::new();
let mut child = tester.spawn_command(tv_with_args(&["init", "zsh"])); let mut child = tester
.spawn_command(tv_local_config_and_cable_with_args(&["init", "zsh"]));
PtyTester::assert_exit_ok(&mut child, DEFAULT_DELAY); PtyTester::assert_exit_ok(&mut child, DEFAULT_DELAY);
} }