laconicd-deprecated/server/config/config_test.go
2022-05-16 21:14:14 +05:30

15 lines
312 B
Go

package config
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestDefaultConfig(t *testing.T) {
cfg := DefaultConfig()
require.True(t, cfg.JSONRPC.Enable)
// require.Equal(t, cfg.JSONRPC.Address, DefaultJSONRPCAddress)
require.Equal(t, cfg.JSONRPC.WsAddress, DefaultJSONRPCWsAddress)
}