25 lines
553 B
Python
25 lines
553 B
Python
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",
|
|
"@npm//@types/jasmine",
|
|
"@npm//@types/node",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
|
deps = [
|
|
":fake_async_lib",
|
|
"//tools/testing:node",
|
|
"//tools/testing:node_es5",
|
|
],
|
|
)
|