Skip to content

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Tests

The test suite is primarily for testing the servers for API conformity, and only secondarily for testing the JavaScript library.

The test currently builds and tests three versions of the server:

  • Native server without authentication
  • Native server with authentication
  • Cloudflare worker without authentication

(TODO: Cloudflare worker with authentication)

S3 Config

If ALL FIVE of the following env vars are set, tests with S3 as the storage backend will also be run.

  • Y_SWEET_S3_ACCESS_KEY_ID
  • Y_SWEET_S3_SECRET_KEY
  • Y_SWEET_S3_REGION
  • Y_SWEET_S3_BUCKET_PREFIX
  • Y_SWEET_S3_BUCKET_NAME