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
50 lines (45 loc) · 1.16 KB
/
BUILD.bazel
File metadata and controls
50 lines (45 loc) · 1.16 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
load("//tools:interop.bzl", "ts_project")
load(":e2e.bzl", "e2e_suites")
bool_flag(
name = "enable_native_windows_testing",
build_setting_default = False,
)
config_setting(
name = "native_windows_testing",
flag_values = {
":enable_native_windows_testing": "true",
},
)
ts_project(
name = "runner",
testonly = True,
srcs = [
"e2e_runner.ts",
],
data = [
"verdaccio.yaml",
"verdaccio_auth.yaml",
],
deps = [
"//:node_modules/@types/node",
"//:node_modules/ansi-colors",
"//:node_modules/fast-glob",
"//packages/angular_devkit/core:core_rjs",
"//packages/angular_devkit/core/node:node_rjs",
"//tests/legacy-cli/e2e/utils:utils_rjs",
],
)
e2e_suites(
name = "e2e",
data = [
":runner",
# Tests + setup
# Loaded dynamically at runtime, not compiletime deps
"//tests/legacy-cli/e2e/assets",
"//tests/legacy-cli/e2e/setup",
"//tests/legacy-cli/e2e/initialize",
"//tests/legacy-cli/e2e/tests",
],
runner = ":e2e_runner.ts",
)