Skip to main content

FAQ — Early Catch for Pull Request

Does it work with languages other than TypeScript?

Currently, only TypeScript + Jest is supported. Additional language/framework support is on the roadmap.

Can I change the coverage thresholds?

Yes. You can configure:

  • Lower limit — when to start generating (default 0%).
  • Upper limit — when to stop enhancing (default 80%).

Will it overwrite my existing tests?

No. It generates new test files with .early.test.ts suffix and does not modify your existing tests.

What happens if a generated test fails?

Failing or flaky tests are never committed. Only passing tests make it to the branch.

Does it require special permissions?

Yes, your GitHub Action needs: permissions: packages: read contents: write pull-requests: read

Can I run it on PR updates, not just creation?

Yes. You can modify the on.pull_request.types in the workflow to include synchronize or other events.

How do I obtain the EARLY_SECRET_TOKEN?

To obtain your EARLY_SECRET_TOKEN, you’ll need to contact the Early team directly.
Reach out through our Contact Us page or via your Early account representative.
Once approved, you’ll receive a secure token to use in your GitHub Actions workflow.