File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ (ns firebase.core
2
+ (:require [" firebase/auth" :as auth]))
3
+
Original file line number Diff line number Diff line change 796
796
(ana/with-warning-handlers [(collecting-warning-handler ws)]
797
797
(build/build (build/inputs (io/file inputs " cljs_3311_regress/core.cljs" )) opts cenv))
798
798
(is (empty? @ws)))))
799
+
800
+ (deftest test-cljs-3332
801
+ (test/delete-node-modules )
802
+ (spit (io/file " package.json" ) " {}" )
803
+ (let [out (.getPath (io/file (test/tmp-dir ) " npm-deps-test-out" ))
804
+ {:keys [inputs opts]} {:inputs (str (io/file " src" " test" " cljs_build" ))
805
+ :opts {:main 'firebase.core
806
+ :output-dir out
807
+ :optimizations :none
808
+ :install-deps true
809
+ :npm-deps {:firebase " 9.3.0" }
810
+ :closure-warnings {:check-types :off }}}
811
+ cenv (env/default-compiler-env )]
812
+ (test/delete-out-files out)
813
+ (build/build (build/inputs (io/file inputs " firebase/core.cljs" )) opts cenv)
814
+ (println (:node-module-index @cenv)))
815
+ (.delete (io/file " package.json" ))
816
+ (test/delete-node-modules ))
817
+
818
+ (comment
819
+
820
+ (clojure.test/test-vars [#'test-cljs-3332])
821
+
822
+ )
You can’t perform that action at this time.
0 commit comments