prysm-pulse/slasher/db/testing/BUILD.bazel
2020-10-02 19:32:21 +03:00

29 lines
838 B
Python

load("@prysm//tools/go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_test")
go_library(
name = "go_default_library",
testonly = True,
srcs = ["setup_db.go"],
importpath = "github.com/prysmaticlabs/prysm/slasher/db/testing",
visibility = ["//slasher:__subpackages__"],
deps = [
"//shared/rand:go_default_library",
"//shared/testutil:go_default_library",
"//slasher/db:go_default_library",
"//slasher/db/kv:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["setup_db_test.go"],
embed = [":go_default_library"],
deps = [
"//shared/testutil:go_default_library",
"//shared/testutil/require:go_default_library",
"//slasher/db:go_default_library",
"//slasher/db/kv:go_default_library",
],
)