From d341e385fa9ba486752bed793cc6461b96571635 Mon Sep 17 00:00:00 2001 From: Alexander Ewetumo Date: Mon, 23 Oct 2017 14:27:14 +0100 Subject: [PATCH] Add networkSelected flag for test --- e2e/testing.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/e2e/testing.go b/e2e/testing.go index 6f49a8ff6..e5356d95c 100644 --- a/e2e/testing.go +++ b/e2e/testing.go @@ -13,6 +13,14 @@ import ( . "github.com/status-im/status-go/testing" //nolint: golint ) +var ( + networkSelected string +) + +func init( + flag.StringVar(&networkSelected, "network", "statuschain","Set's the network to be used for testing") +) + // TestNodeOption is a callback passed to StartTestNode which alters its config. type TestNodeOption func(config *params.NodeConfig)