39 lines
986 B
Python
39 lines
986 B
Python
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
ts_library(
|
|
name = "prelink_bootstrap",
|
|
testonly = True,
|
|
srcs = ["bootstrap.ts"],
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/compiler-cli/linker/babel",
|
|
"//packages/compiler-cli/test/compliance_old/mock_compile",
|
|
"@npm//@babel/core",
|
|
"@npm//@babel/generator",
|
|
"@npm//@babel/template",
|
|
"@npm//@babel/types",
|
|
"@npm//@types/babel__core",
|
|
"@npm//@types/babel__generator",
|
|
"@npm//@types/babel__template",
|
|
"@npm//typescript",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "prelink",
|
|
bootstrap = [
|
|
"//tools/testing:node_no_angular_es5",
|
|
":prelink_bootstrap_es5",
|
|
],
|
|
data = [
|
|
"//packages/compiler-cli/src/ngtsc/testing/fake_core:npm_package",
|
|
],
|
|
shard_count = 4,
|
|
tags = [
|
|
"ivy-only",
|
|
],
|
|
deps = [
|
|
"//packages/compiler-cli/test/compliance_old:test_lib",
|
|
],
|
|
)
|