@gadfly361: not sure if it'll be useful but here's an example https://github.com/funcool/httpurr/blob/master/test/httpurr/test/client_test.cljs
since the HTTP client uses XhrIO under the hood, I use goog.testing.net.XhrIo
@dialelo this looks very useful, thank you!
you're welcome!
Hey all, I've got a really weird issue I'm hoping someone can help me solve.
I'm using migratus, and in testing, I've set up a fixture to setup a test database. The weird bit is if I run this fixture, my tests won't run.
Anyone have any ideas as to why that might happen? I'm using the migrate function, and my config map is correct.
The actual code looks like this:
(use-fixtures :once (fn [f] (migratus/migrate config))
@sdroadie: your fixture fn must call f
, which is the actual test, so you should have something like (use-fixtures :once (fn [f] (migratus/migrate config) (f))