Skip to content

Make local and CI test commands reproducible before bug fixes #9

Description

@alx-so

Problem

The repository has Jest, lint, typecheck, and CI configured, but the local checkout currently cannot run those commands without installed dependencies. The contributing documentation also still refers to the example app as example/, while the actual workspace is example-expo.

Before fixing runtime bugs, contributors need a clear and reproducible test path that does not require starting the Expo app or any local server.

Impact

Without a reproducible validation path, bug-fix PRs can change behavior without a reliable signal from tests or CI. The mismatch between docs/config and the actual workspace also makes it harder to know which commands should be trusted.

Code references

  • package.json#L39-L46: project scripts define test, typecheck, lint, and prepare.
  • .github/workflows/ci.yml#L1-L47: CI already runs lint, typecheck, tests with coverage, library build, and Expo web export.
  • .github/actions/setup/action.yml#L1-L23: CI installs dependencies through Yarn.
  • CONTRIBUTING.md#L8-L19: documentation refers to example/, but the repo uses example-expo.
  • src/__tests__/index.test.tsx#L1: the only Jest test is a placeholder.

Acceptance criteria

  • Document the exact safe validation commands for this library before bug fixes begin.
  • Commands do not require starting a Metro, Expo, preview, browser, or any process that binds a port.
  • Contributing docs and test/build config refer to example-expo consistently.
  • CI and local validation expectations are aligned.
  • No new dependencies are added without an explicit dependency decision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: buildBuild, packaging, and release configurationarea: testsAutomated test coverage and test configurationdocumentationImprovements or additions to documentationenhancementNew feature or requestpriority: criticalMust fix before the next releasetype: choreMaintenance and internal project worktype: testingTest infrastructure and coverage work

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions