Questions tagged [with-simulated-input]
2 questions
3
votes
1 answer
Acceptance test for a flow that uses the transient package?
I am trying to write a test around a flow that uses transient. Here is the sample code:
;; -*- lexical-binding: t; coding: utf-8 -*-
(require 'transient)
(require 'buttercup)
(require 'with-simulated-input)
(defun ogt-print-a () (interactive)…

Trevoke
- 2,375
- 21
- 34
1
vote
1 answer
doremi: previous event triggering an error
In this example, the function doremi https://www.emacswiki.org/emacs/DoReMi seems to be encountering a problem due to the previous input. Based upon that assumption, I have tried calling discard-input and also setting to nil the variables…

lawlist
- 18,826
- 5
- 37
- 118