forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
36 lines (33 loc) · 869 Bytes
/
Copy pathBUILD.bazel
File metadata and controls
36 lines (33 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
load("@devinfra//bazel/spec-bundling:index.bzl", "spec_bundle")
load("//tools:defaults.bzl", "jasmine_test", "ts_project")
ts_project(
name = "unit_test_lib",
testonly = True,
srcs = glob(
include = ["**/*.ts"],
),
tsconfig = "//:test-tsconfig-esm",
deps = [
"//:node_modules/@angular/common",
"//:node_modules/@angular/compiler",
"//:node_modules/@angular/core",
"//:node_modules/@angular/platform-browser",
"//:node_modules/@angular/router",
"//:node_modules/@types/node",
"//packages/angular/ssr",
],
)
spec_bundle(
name = "esm_tests_bundled",
deps = [
":unit_test_lib",
"//packages/angular/ssr/third_party/beasties:beasties_bundled",
],
)
jasmine_test(
name = "test",
data = [
":esm_tests_bundled",
],
flaky = True,
)