bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Only :as and :refer options supported in :require / :require-macros; #28

Closed johanatan closed 9 years ago

johanatan commented 9 years ago
clojure.lang.ExceptionInfo: Only :as and :refer options supported in :require / :require-macros; offending spec: [doo.runner :refer-marcos [doo-all-tests doo-tests]] at line 2 test/graphql-tlc/runner.cljs {:file #object[java.io.File 0x2ca93dee "test/graphql-tlc/runner.cljs"], :line 2, :column 1, :tag :cljs/analysis-error}

My runner looks like so:

Jonathans-MacBook-Pro:graphql-type-lang-compiler jonathan$ cat test/graphql-tlc/runner.cljs 

(ns graphql-tlc.runner
  (:require [cljs.test :as test]
            [doo.runner :refer-marcos [doo-all-tests doo-tests]]
            [graphql-tlc.test.core]))

(doo-tests 'graphql-tlc.test.core)
bensu commented 9 years ago

There is a typo in the ns declaration: :refer-marcos should be :refer-macros.

Let me know if you have any more problems :)

johanatan commented 9 years ago

Doh! Thanks a lot!