5.2.0 • Published 4 months ago

@lifeomic/test-tool-localstack v5.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@lifeomic/test-tool-localstack

npm Build Status

Localstack docker setup and run tools.

startLocalstackDocker

Starts up a localstack docker instance with specified services.

LocalstackConnectionOptions

Option (default)Description
versionTag = 0.14Which version of localstack to use, must be >= 0.12.20. Not allowed to be latest.
nameTag = ''Which of the three variants to use, light or full, with nothing specified defaulting to the localstack/localstack default which is light
servicesA list of SERVICES to start. Comma-separated list of AWS CLI service names or shorthands to start up.
envVariablesOther environment variables to start the localstack instance with
localstackPort = 4566Tell Localstack which port to use. Should probably use different ones when running on CI systems

Returns a LocalstackConnection type.

interface LocalstackConnection extends awsUtils.ConnectionAndConfig {
  getOutput: () => string;
  clearOutput: () => void;
  cleanup: () => Promise<void>;
}

Hooks

Test framework convenience method.

import { localstackHooks } from '@lifeomic/test-tool-localstack'

const hooks = localstackHooks();
let

beforeAll(async () => {
  
})
5.2.0

4 months ago

5.1.1

4 months ago

5.1.0

8 months ago

5.0.0

8 months ago

4.1.3

11 months ago

4.1.2

1 year ago

4.1.1

1 year ago

4.1.0

1 year ago

3.3.1

2 years ago

4.0.0

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago