prysm-pulse/validator/db/testing/BUILD.bazel
terence tsao 2a997828a3
Audit best practice feedback - validator DB test folder (#6426)
* Refactor validators db

* Lint

* Lint

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-06-26 21:37:43 -05:00

22 lines
617 B
Python

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