Miss any of our Open RFC calls?Watch the recordings here! »

@sat-utils/api-lib

0.2.6 • Public • Published

@sat-utils/api-lib

Unit Tests

$ yarn
$ yarn test

Integration Tests

Navigate to the integration directory

$ cd ./tests/integration

Use the environment variable DOCKER_NAME to set your Docker host name. Normally localhost.

$ export DOCKER_NAME=localhost

The AWS-SDK library also requires fake key fields to create a connection so set.

$ export AWS_ACCESS_KEY_ID=none
$ export AWS_SECRET_ACCESS_KEY=none

To run the tests

$ ./runIntegration.sh

Environment variables

AWS_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY ES_HOST ES_BATCH_SIZE STAC_ID STAC_TITLE STAC_DESCRIPTION STAC_VERSION STAC_DOCS_URL SATAPI_URL

About

sat-api was created by Development Seed and is part of a collection of tools called sat-utils.

Keywords

none

Install

npm i @sat-utils/[email protected]

Version

0.2.6

License

MIT

Unpacked Size

139 kB

Total Files

36

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar