metricstest
Package metricstest
import "github.com/luxfi/node/vms/evm/metrics/metricstest"Functions
WithMetrics
func WithMetrics(t testing.TB)WithMetrics enables metrics for the test and prevents any other tests with metrics from running concurrently.
Metrics are restored to their original value during testing cleanup.