I want to mock a function in Clojurescript because with-redefs does not work with our functions that return promises. Would integrant be good for this? If so, any examples?
one idea I had... maybe using protocols and records, and then integrant instantiates the record
It depends on your use-case. Integrant is designed to create systems from a dependency graph of components.