Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 873 Bytes

File metadata and controls

23 lines (14 loc) · 873 Bytes

Things to know about

Layout

App Components

All of the app components (and tests for them) are expected to be under the lib folder.

This is important because tests are explicitly invoked from under the folder

App Tests

jest test framework is used. Use npm test to run all tests (unit tests and end-to-end tests).

Custom configuration is used - see the scripts.test in package.json.

Test modules are maintained under the test folder.

End2End Tests

End to end tests require to be executed in certain order (see the test/jest.run-all-tests.js file).

  • a temporary cloud is provisioned when running tests
  • if you want to use a different cloud (for debugging purposes, for example) - place .env file with Cloudinary credentials under the test/end2end folder
    • then the test migration operations will be performed against that cloud