File tree Expand file tree Collapse file tree 4 files changed +25
-13
lines changed Expand file tree Collapse file tree 4 files changed +25
-13
lines changed Original file line number Diff line number Diff line change 19
19
" -e" " (cljs.test-runner/-main)" ]}
20
20
:runtime.test.build {:extra-paths [" src/test/cljs" ]
21
21
:main-opts [" -m" " cljs.main" " -co" " resources/test.edn" " -c" ]}
22
+ :lite.test.build {:extra-paths [" src/test/cljs" ]
23
+ :main-opts [" -m" " cljs.main" " -co" " resources/lite_test.edn" " -c" ]}
22
24
:selfhost.test.build {:extra-paths [" src/test/self" ]
23
25
:main-opts [" -m" " cljs.main" " -co" " resources/self_host_test.edn" " -c" ]}
24
26
:selfparity.test.build {:extra-paths [" src/test/self" ]
Original file line number Diff line number Diff line change 1
- {:optimizations :advanced
2
- :main lite-test-runner
3
- :output-to " builds/out-lite/lite-test.js"
4
- :output-dir " builds/out-lite"
5
- :output-wrapper true
6
- :verbose true
7
- :compiler-stats true
8
- :parallel-build true
1
+ {:optimizations :advanced
2
+ :main lite-test-runner
3
+ :lite-mode true
4
+ :output-to " builds/out-lite/lite-test.js"
5
+ :output-dir " builds/out-lite"
6
+ :output-wrapper true
7
+ :verbose true
8
+ :compiler-stats true
9
+ :parallel-build true
9
10
:closure-warnings {:non-standard-jsdoc :off :global-this :off }
10
- :language-out :es5 }
11
+ :language-out :es5
12
+ :pseudo-names true
13
+ :pretty-print true }
Original file line number Diff line number Diff line change 7
7
; You must not remove this notice, or any other, from this software.
8
8
9
9
(ns cljs.lite-collections-test
10
- (:require [cljs.test :refer-macros [deftest testing is are run-tests]]
11
- [clojure.test.check.clojure-test :refer-macros [defspec ]]))
10
+ (:require [cljs.test :refer-macros [deftest testing is are run-tests]]))
11
+
12
+ ; ; NOTE: ** this name space must be tested with :lite-mode true **
13
+
14
+ (deftest test-obj-map
15
+ (let [a (. ObjMap -EMPTY)
16
+ b {}]
17
+ (is (identical? a b))))
Original file line number Diff line number Diff line change 7
7
; ; You must not remove this notice, or any other, from this software.
8
8
9
9
(ns lite-test-runner
10
- (:require [cljs.lite-collections-test]))
10
+ (:require [cljs.test :refer-macros [run-tests]]
11
+ [cljs.lite-collections-test]))
11
12
12
13
(set! *print-newline* false )
13
14
17
18
(enable-console-print! ))
18
19
19
20
(run-tests
20
- 'cljs.collections-test
21
+ 'cljs.lite- collections-test
21
22
)
You can’t perform that action at this time.
0 commit comments