Skip to content

wirestate-core/test-utils

Test-utils

FunctionDescription
mockBindEntryBinds a service entry to the IoC container for testing purposes.
mockBindServiceBinds a service class to the IoC container for testing purposes.
mockContainerMocks and configures an Inversify Container for testing.
mockServiceMocks a service by binding it to an IoC container and returning its resolved instance.
mockUnbindServiceUnbinds a service from the IoC container.