angular/packages/misc/angular-in-memory-web-api/test/BUILD.bazel
Paul Gschwendtner b60df2aa6f build: update angular-in-memory-web-api to work with ESM (#48521)
Properly imports `jasmine-ajax` instead of attempting to load
some CommonJS bundle as a bootstrap dependency in Karma.

PR Close #48521
2022-12-19 19:50:42 +00:00

26 lines
617 B
Text

load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
ts_library(
name = "test_lib",
testonly = True,
srcs = glob(["**/*.ts"]),
# Visible to //:saucelabs_unit_tests_poc target
visibility = ["//:__pkg__"],
deps = [
"//packages/common",
"//packages/common/http",
"//packages/core",
"//packages/core/testing",
"//packages/misc/angular-in-memory-web-api",
"@npm//@types/jasmine-ajax",
"@npm//jasmine-ajax",
"@npm//rxjs",
],
)
karma_web_test_suite(
name = "test_web",
deps = [
":test_lib",
],
)