mock

package
v1.99.99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cfg

func Cfg(t *testing.T, fixtures ...func(abcitypes.Application)) cfg.Cfg

Cfg creates a mock config

This configuration is connected to a mock tendermint client, which in turn is connected to a real but empty ndau App, which uses an in-memory database

func Client

func Client(t *testing.T, fixtures ...func(abcitypes.Application)) cfg.TMClient

Client returns a TMClient connected to a mock tendermint connected to a real but empty ndau.App connected to an in-memory noms.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL