 (deftest test-relative-file
   (with-npm [x {}]
     (let [{:keys [ns resource-name] :as rc}
-          (npm/find-resource x
+          (find-npm-resource x
             (-> (io/file ".")
                 (.getCanonicalFile))
             "./src/test/foo" {})]

    (let [ctx {}

          {:keys [resource-name] :as rc1}
          (npm/find-resource x nil "file-over-dir/foo" ctx)]

      (is rc1)
      (is (string? resource-name))


(deftest test-missing-package-returns-nil
  (with-npm [x {}]
    (let [rc (find-npm-resource x nil "i-dont-exist" {})]
      (is (nil? rc))
      )))

