                                               :compiler {:main "russyll.dev"
                                                          :source-map true}}
 
+                                       :test {:source-paths ["src/cljs/russyll"]
+                                              :compiler {:output-to "target/test.js"
+                                                         :optimizations :simple
+                                                         :pretty-print true}}
+                                        }
+                               :test-commands {"unit" ["node" :node-runner "target/test.js"]}
 
-                                        }
+                               }
 
-                               }}
+
+                   }
 
              :uberjar {:hooks [leiningen.cljsbuild minify-assets.plugin/hooks]
                        :env {:production true}

                 [environ "1.0.1"]
                 [org.clojure/clojurescript "1.7.145" :scope "provided"]
                 [secretary "1.2.3"]
                 
                 ]

  :plugins [[lein-environ "1.0.1"]

                                              :compiler
                                              {:optimizations :advanced
                                               :pretty-print false}}
                                             :server {}
                                            }}}})
