    :opera         {:plugin (karma-plugin-name "opera")
                    :name   "Opera"}
    :ie            {:plugin (karma-plugin-name "ie")
-                   :name   "IE"}})
+                   :name   "IE"}
+   :karma-phantom {:plugin (karma-plugin-name "phantomjs")
+                   :name   "PhantomJS"}})
 
-(def envs (set (keys browser-envs)))
+(def envs (set (keys karma-envs)))
 
 (defn env? [js]
-  (contains? browser-envs js))
+  (contains? envs js))
 
 ;; In Karma all paths (including config.files) are normalized to
 ;; absolute paths using the basePath.

(defn- karma-plugin-name [name]
  (str "karma-" name "-launcher"))

(def browser-envs
  {:chrome        {:plugin (karma-plugin-name "chrome")
                   :name   "Chrome"}
   :chrome-canary {:plugin (karma-plugin-name "chrome")

(ns doo.karma
  (:import java.io.File)
  (:require [clojure.set :as set]
            [clojure.string :as str]
            [clojure.java.io :as io]
            [clojure.data.json :as json]
            [doo.shell :as shell]
