mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-30 09:47:12 +08:00
Wait for the terminal.clear to go through before continuing
Prevents some flakiness in tests
This commit is contained in:
parent
89dd69d517
commit
c3425870f1
@ -5,6 +5,8 @@ describe 'default strategy' do
|
|||||||
session.run_command('source zsh-autosuggestions.zsh')
|
session.run_command('source zsh-autosuggestions.zsh')
|
||||||
session.run_command('fc -p')
|
session.run_command('fc -p')
|
||||||
session.clear
|
session.clear
|
||||||
|
|
||||||
|
wait_for { session.content }.to eq('')
|
||||||
end
|
end
|
||||||
|
|
||||||
after do
|
after do
|
||||||
|
Loading…
Reference in New Issue
Block a user