Skip to content

Commit 3567cc0

Browse files
committed
test case for CLJS-2324
1 parent e312674 commit 3567cc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/clojure/cljs/module_graph_tests.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
(deftest test-entry-deps
7777
(let [inputs (module-graph/index-inputs (inputs opts))]
7878
(is (= (module-graph/deps-for-entry "page2.a" inputs)
79-
["cljs.core" "events" "shared.a"]))))
79+
["cljs.core" "events" "shared.a"]))
80+
(is (some #{"shared.a"} (module-graph/deps-for-entry "page1.a" inputs)))))
8081

8182
(deftest test-canonical-name
8283
(let [ins (module-graph/index-inputs (inputs opts))]

0 commit comments

Comments
 (0)