prysm-pulse/shared/asyncutil/BUILD.bazel
Victor Farazdagi 51f2cc18e5
Improves asyncutils/Debounce (#7189)
* improves asyncutils/debounce
* better handling of timeout test
* more tests
2020-09-08 14:49:28 +00:00

21 lines
574 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 = ["debounce.go"],
importpath = "github.com/prysmaticlabs/prysm/shared/asyncutil",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = ["debounce_test.go"],
embed = [":go_default_library"],
deps = [
"//shared/testutil:go_default_library",
"//shared/testutil/assert:go_default_library",
"//shared/testutil/require:go_default_library",
],
)