       (is (success? res) "(require 'foo.bar.baz) and foo.bar.baz/a should succeed")
       (is (valid-eval-result? out) "(require 'foo.bar.baz) and foo.bar.baz/a should be a valid result")
       (is (= 'cljs.user (repl/current-ns)) "(require 'foo.bar.baz) and foo.bar.baz/a should not change namespace")
-      (is (not (= "whatever" out)) "(require 'foo.bar.baz) and foo.bar.baz/a should return \"whatever\"")
+      (is (= "\"whatever\"" out) "(require 'foo.bar.baz) and foo.bar.baz/a should return \"whatever\"")
       (repl/reset-env! ['foo.bar.baz]))
     ;; https://github.com/ScalaConsultants/replumb/issues/39
     (let [res (do (read-eval-call validated-echo-cb "(require 'foo.bar.baz)")

      (is (valid-eval-result? out) "(require 'foo.bar.baz) and foo.bar.baz/const-a should be a valid result")
      (is (= 'cljs.user (repl/current-ns)) "(require 'foo.bar.baz) and foo.bar.baz/const-a should not change namespace")
      (is (= "1024" out) "(require 'foo.bar.baz) and foo.bar.baz/const-a should return \"1024\"")
      (repl/reset-env! ['foo.bar.baz]))))

                "dev-resources/private/test/src/cljs"
                "dev-resources/private/test/src/clj"])

;; Damian - Add js/COMPILED flag to cljs eval to turn off namespace already declared errors
;; AR - js/COMPILED goes here not in the runner otherwise node does not execute doo tests
;; AR - js/COMPILED is not needed after having correctly bootstrapped the
;; nodejs environment, see PR #57
(let [target-opts (nodejs-options src-paths io/read-file!)
      read-eval-call (partial repl/read-eval-call target-opts)]
  (deftest process-require
    ;; AR - Test for "No *load-fn* when requiring a namespace in browser #35"
    ;; Note there these are tests with a real *load-fn*
    (let [res (read-eval-call validated-echo-cb "(require 'foo.bar.baz)")
