load("//tools:defaults.bzl", "ts_library", "ts_web_test_suite")

ts_library(
    name = "test_lib",
    testonly = True,
    srcs = glob(["**/*.ts"]),
    deps = [
        "//packages:types",
        "//packages/core",
        "//packages/core/testing",
        "//packages/platform-browser",
        "//packages/platform-browser-dynamic",
        "//packages/platform-browser/testing",
        "//packages/upgrade",
        "//packages/upgrade/static",
        "@npm//rxjs",
    ],
)

ts_web_test_suite(
    name = "test_web",
    static_files = [
        "//:angularjs_scripts",
    ],
    deps = [
        ":test_lib",
    ],
)
