No need to call through
This commit is contained in:
parent
a3d9eb9a30
commit
2dcf2b7c6a
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ https://www.example.com"
|
|||
(expect #'kagi--fastgpt-display-result :to-have-been-called)))
|
||||
(describe "kagi-translate"
|
||||
(before-each
|
||||
(spy-on #'kagi-fastgpt-prompt :and-call-through))
|
||||
(spy-on #'kagi-fastgpt-prompt))
|
||||
(it "returns output on minimal input"
|
||||
(kagi-translate "foo" "English")
|
||||
(expect #'kagi-fastgpt-prompt :to-have-been-called-times 1)
|
||||
|
|
Loading…
Reference in a new issue