2019-01-28 15:59:25 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "fake_async_lib",
|
|
|
|
srcs = [
|
|
|
|
"example_spec.ts",
|
|
|
|
"fake_async.ts",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//packages/core/testing",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//@types/jasmine",
|
|
|
|
"@npm//@types/node",
|
2019-01-28 15:59:25 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2020-01-10 16:40:02 -05:00
|
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
2019-01-28 15:59:25 -05:00
|
|
|
deps = [
|
|
|
|
":fake_async_lib",
|
2020-01-10 16:39:37 -05:00
|
|
|
"//tools/testing:node",
|
2019-01-28 15:59:25 -05:00
|
|
|
],
|
|
|
|
)
|