tests

package
v0.0.1-alpha-1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAndConnectNats

func RunAndConnectNats(t *testing.T) (*nats.Conn, string, func())

func RunNatsServer

func RunNatsServer(t *testing.T) (*server.Server, string)

func SetupAPI

func SetupAPI(t *testing.T) (*is.I, *nats.Conn, func())

func TestDatabase

func TestDatabase(t *testing.T) (*ent.Client, func())

func TestLogger

func TestLogger(t *testing.T) *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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