cursive
cursive copied to clipboard
required clojure.test gets removed on "Optimize imports"
Using 1.12.2-eap6-2021.3 with Clojure Extras 0.6.0 (and babashka 0.7.7).
Having
(ns jenkins.api-test
(:require
[babashka.curl :as curl]
[jenkins.api :as sut]
[clojure.test :refer [testing is run-tests deftest]]))
(deftest assert-jenkins-credentials
(testing "valid credentials"
When I do a "Optimize Imports" - I get
(ns jenkins.api-test
(:require
[babashka.curl :as curl]
[jenkins.api :as sut]))
(deftest assert-jenkins-credentials
(testing "valid credentials"
i.e. the clojure.test-namespace gets removed.
On another machine I don't have that phenomenon.
I also disabled Clojure Extras - the namespace was still removed.