aleios-cloud / sls-test-tools

Custom Jest Assertions for Serverless integration testing.
MIT License
192 stars 20 forks source link

Expose 'keep=true' as environment variable in addition to CLI arg #40

Closed abirtley closed 2 years ago

abirtley commented 2 years ago

In fab9ab0e0039bfa1944db328c31e98b615a7f3e3, some (but not all) of the CLI arguments were also made accessible as environment variables. This PR extends that availability to the --keep=true CLI argument, which previously could not be set using environment variables.

This helps in situations where CLI arguments are unable to be passed through to the test runner.