                    :b {0 {:baz 42}}}))
            (is (identical? (get-in v [:a 0])
                            (get-in v [:b 0]))))
+         (close! block-bar)
          (close! block-foo))))))
 
 (deftest cache-nested


(deftest cache
  (let [block-foo (chan)
        [subs-fn unsubs-fn [subscriptions unsubscribable]]
        (simulate-api
         {"/foo/"

       (go
         (let [v (<! target)]
           (is (= v
                  {:a {0 {:baz {:test-val 42}}}
                   :b {0 {:baz {:test-val 42}}}}))
           (is (identical? (get-in v [:a 0])
                           (get-in v [:b 0])))
           (close! block-bar)
