File tree 8 files changed +28
-1741
lines changed
8 files changed +28
-1741
lines changed Original file line number Diff line number Diff line change 27
27
command : sudo npm install -g karma-cli
28
28
29
29
- run :
30
- command : lein ci
30
+ command : lein test-once
31
31
32
32
- save_cache :
33
33
paths :
Original file line number Diff line number Diff line change 5
5
/target /
6
6
/node_modules /
7
7
/.shadow-cljs /
8
+ /package.json
9
+ /shadow-cljs.edn
8
10
/resources /public /js /test /
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module.exports = function (config) {
4
4
config . set ( {
5
5
browsers : [ 'ChromeHeadless' ] ,
6
6
basePath : 'target' ,
7
- files : [ 'ci .js' ] ,
7
+ files : [ 'karma-test .js' ] ,
8
8
frameworks : [ 'cljs-test' ] ,
9
9
plugins : [
10
10
'karma-cljs-test' ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
[karma-reporter " 3.1.0" ]]
14
14
:plugins [[lein-shell " 0.5.0" ]]}}
15
15
16
+ :plugins [[lein-shadow " 0.1.5" ]]
17
+
16
18
:clean-targets [:target-path
17
19
" resources/public/js/test" ]
18
20
23
25
24
26
:test-paths [" test" ]
25
27
26
- :aliases {" dev" [" do"
27
- [" shell" " npm" " install" ]
28
- [" with-profile" " dev" " run" " -m" " shadow.cljs.devtools.cli" " watch" " browser-test" ]]
29
- " ci" [" do"
30
- [" shell" " npm" " install" ]
31
- [" run" " -m" " shadow.cljs.devtools.cli" " compile" " ci" ]
28
+ :shadow-cljs {:nrepl {:port 8777 }
29
+
30
+ :builds {:browser-test
31
+ {:target :browser-test
32
+ :ns-regexp " -test$"
33
+ :test-dir " resources/public/js/test"
34
+ :devtools {:http-root " resources/public/js/test"
35
+ :http-port 8290 }}
36
+
37
+ :karma-test
38
+ {:target :karma
39
+ :ns-regexp " -test$"
40
+ :output-to " target/karma-test.js" }}}
41
+
42
+ :aliases {" dev-auto" [" with-profile" " dev" " shadow" " watch" " browser-test" ]
43
+ " test-once" [" do"
44
+ [" shadow" " compile" " karma-test" ]
32
45
[" shell" " karma" " start" " --single-run" " --reporters" " junit,dots" ]]}
33
46
34
47
:deploy-repositories [[" clojars" {:sign-releases false
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {:npm-dev-deps {" shadow-cljs" " 2.8.51"
2
+ " karma" " 4.2.0"
3
+ " karma-chrome-launcher" " 3.1.0"
4
+ " karma-cljs-test" " 0.1.0"
5
+ " karma-junit-reporter" " 1.2.0" }}
You can’t perform that action at this time.
0 commit comments