mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 11:41:21 +00:00
14 lines
194 B
Go
14 lines
194 B
Go
|
package helpers
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
// run ClearCache before each test to prevent cross-test side effects
|
||
|
func TestMain(m *testing.M) {
|
||
|
ClearCache()
|
||
|
code := m.Run()
|
||
|
os.Exit(code)
|
||
|
}
|