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

package(default_visibility = ["//visibility:public"])

ts_library(
    name = "test_lib",
    testonly = True,
    srcs = glob([
        "**/*.ts",
    ]),
    deps = [
        "//packages:types",
        "//packages/compiler-cli/src/ngtsc/testing",
        "//packages/compiler-cli/src/ngtsc/util",
        "@npm//typescript",
    ],
)

jasmine_node_test(
    name = "test",
    bootstrap = ["angular/tools/testing/init_node_no_angular_spec.js"],
    deps = [
        ":test_lib",
        "//tools/testing:node_no_angular",
    ],
)
