aboutsummaryrefslogtreecommitdiff
path: root/tests/test-integration-acceptance.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-integration-acceptance.el')
-rw-r--r--tests/test-integration-acceptance.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-integration-acceptance.el b/tests/test-integration-acceptance.el
index de5f0e7..11b88b2 100644
--- a/tests/test-integration-acceptance.el
+++ b/tests/test-integration-acceptance.el
@@ -109,6 +109,10 @@ because the description-update mutation contains both `IssueDescription' and
(when (find-buffer-visiting tmp) (kill-buffer (find-buffer-visiting tmp)))
(cl-letf (((symbol-function 'pearl--graphql-request-async)
#'test-integration--dispatch)
+ ;; the header-state gather fetches team states synchronously;
+ ;; stub it so the render stays network-free (the derived #+TODO
+ ;; then comes from the displayed issues' own states)
+ ((symbol-function 'pearl--team-states) (lambda (_team-id) nil))
;; no windows in batch; keep the surface step a no-op
((symbol-function 'pearl--surface-buffer) (lambda (b) b)))
(unwind-protect