forked from cerc-io/laconicd-deprecated
15 lines
312 B
Go
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)
|
|
}
|