testing

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFeatureDuringTest

func SetFeatureDuringTest(tb testing.TB, feature clientfeatures.Feature, featureValue bool)

SetFeatureDuringTest sets the specified feature to the specified value for the duration of the test.

Example use:

clientfeaturestesting.SetFeatureDuringTest(t, clientfeatures.WatchListClient, true)

Types

This section is empty.

Jump to

Keyboard shortcuts

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