File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ TOOLS = [
1919 ":node_modules/@angular-devkit/build-angular" ,
2020]
2121
22+ TEST_DEPS = [
23+ # FIXME: figure out exactly which are needed
24+ ":node_modules" ,
25+ # ":node_modules/jasmine-core",
26+ # ":node_modules/karma-chrome-launcher",
27+ # ":node_modules/karma-coverage",
28+ # ":node_modules/karma-jasmine",
29+ # ":node_modules/karma-jasmine-html-reporter",
30+ ]
31+
2232RUNTIME = [
2333 ":node_modules/@angular/core" ,
2434 ":node_modules/@angular/platform-browser" ,
@@ -49,3 +59,18 @@ http_server.http_server_binary(
4959 args = [package_name () + "/dist/app/browser" ],
5060 data = [":build" ],
5161)
62+
63+ angular_cli .ng_test (
64+ name = "test" ,
65+ args = [
66+ "test" ,
67+ "--watch=false" ,
68+ ],
69+ chdir = package_name (),
70+ data = [
71+ ":config" ,
72+ ":src" ,
73+ ":tsconfig.spec.json" ,
74+ ] + TOOLS + RUNTIME + TEST_DEPS ,
75+ tags = ["local" ],
76+ )
You can’t perform that action at this time.
0 commit comments