namespace-symbol calculation only works with two segment namespaces
martinklepsch opened this issue · 1 comments
martinklepsch commented
diff --git a/src/net/tiuhti/cypress_cljs.cljs b/src/net/tiuhti/cypress_cljs.cljs
index 92b272f..29b4208 100644
--- a/src/net/tiuhti/cypress_cljs.cljs
+++ b/src/net/tiuhti/cypress_cljs.cljs
@@ -56,8 +56,8 @@
(defn namespace-symbol [test-file]
(-> test-file
- (.replace ".cljs" "")
- (.replace "/" ".")
+ (str/replace #"\.cljs$" "")
+ (str/replace "/" ".")
symbol))
viesti commented
Fixed in 0.1.6, thanks!