Skip to content

Commit

Permalink
Disable mocks and revert recent test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
S0AndS0 committed Oct 12, 2024
1 parent b988288 commit 5315f07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
run: |
scripts/vader-run-tests.sh --test units --cicd > /dev/null
- name: Test mocks
run: |
scripts/vader-run-tests.sh --test mocks --cicd > /dev/null
# - name: Test mocks
# run: |
# scripts/vader-run-tests.sh --test mocks --cicd > /dev/null


##
Expand Down
6 changes: 3 additions & 3 deletions tests/mocks/autoload_proompter.vader
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Execute (proompter#SendPromptToChat -- Uses default channel callback when stream

sleep 100m
finally
if type(state.channel) != v:t_none && get(ch_info(state.channel), 'status', v:null) != 'closed'
if ch_info(state.channel).status != 'closed'
call ch_close(state.channel)
endif
endtry
Expand Down Expand Up @@ -186,7 +186,7 @@ Execute (proompter#SendPromptToChat -- Uses default channel callback when non-st

sleep 100m
finally
if type(state.channel) != v:t_none && get(ch_info(state.channel), 'status', v:null) != 'closed'
if ch_info(state.channel).status != 'closed'
call ch_close(state.channel)
endif
endtry
Expand Down Expand Up @@ -295,7 +295,7 @@ Execute (proompter#SendPromptToChat -- Appends to buffer via example channel cal

sleep 100m
finally
if type(state.channel) != v:t_none && get(ch_info(state.channel), 'status', v:null) != 'closed'
if ch_info(state.channel).status != 'closed'
call ch_close(state.channel)
endif
endtry
Expand Down

0 comments on commit 5315f07

Please sign in to comment.