You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be nice to have a helper function for retrieving an environment variable value from a service configuration. E.g. Inside your test you want to enqueue something to a redis queue whose name is set through a container environment variable.
Describe the solution you'd like
Add a helper function to the docker/test-helper.
// throws in case `serviceName` or `environmentVariableName` does not exist.typeResolveServiceEnvironmentVariableValue=(serviceName: string,environmentVariableName: string)=>string
Describe alternatives you've considered
Hardcoding the environment variables inside your tests.
Load the docker-compose.yml file inside the test file
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It would be nice to have a helper function for retrieving an environment variable value from a service configuration. E.g. Inside your test you want to enqueue something to a redis queue whose name is set through a container environment variable.
Describe the solution you'd like
Add a helper function to the
docker/test-helper
.Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: