 
 (def test-data (atom (list)))
 
-(def test-interval (atom nil))
 (def test-indx (atom 0))
 
 (def failed (atom 0))


        (finally
         (swap! test-indx inc)
         (reset! test-interval (js/setInterval run-single-test 1000)))))

    (reset! test-interval (js/setInterval end-of-tests 500))))


(defn ^:export run-tests []


  (dommy/set-text! (sel1 :#results) "Test started")
  (reset! test-indx 0)
  (js/setTimeout run-single-test 100))
