addons/isl/integrationTests/README.md
ISL integration tests create a real sl repo and run actual sl commands, to validate the end-to-end workflow.
That said, integration tests differ from "real" use of ISL in a few ways:
Integration tests run one at a time, to avoid overlapping causing issues.
To run Integration tests:
yarn integration
You can use other jest CLI args like normal:
yarn integration testName
See existing tests for examples of how to write an integration test. Generally:
integrationTests/ directory, with .test.tsx names.await initRepo() at the start of the test. It sets up the real repo and provides various utilsawait act(cleanup) at the end of the testawait import() syntax. This is important since initRepo() sets up mocks that MUST happen before ANY other isl/src imports