Skip to content

Build config excludes wrong example folder and test suite has no coverage #7

Description

@alx-so

Problem

The repository uses example-expo, but build and test ignore configuration still references example. The Jest suite also contains only a placeholder test.

This means local and release validation can miss real regressions, and the TypeScript build target can unintentionally include the example app.

Impact

Packaging and release checks may be noisy or inaccurate. More importantly, the current test suite does not protect core behavior such as search updates, controlled values, multi-select tags, or public prop wiring.

Code references

  • tsconfig.build.json#L1-L4: build config excludes example and lib, but the actual example folder is example-expo.
  • package.json#L102-L104: workspace is named example-expo.
  • package.json#L106-L111: Jest ignore pattern references <rootDir>/example/node_modules rather than the current example workspace.
  • src/__tests__/index.test.tsx#L1: test suite only contains it.todo("write a test").

Acceptance criteria

  • Build and Jest ignore configuration references the actual example-expo workspace.
  • Static validation can run after dependency installation without unintentionally compiling the example app as part of the package build.
  • Placeholder test is replaced with focused regression coverage or removed once real tests exist.
  • Tests are added for the stabilization issues in this milestone where practical.
  • Document the expected local validation commands in contributing docs if they are not already clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: buildBuild, packaging, and release configurationarea: testsAutomated test coverage and test configurationbugSomething isn't workingpriority: mediumImportant but lower urgency

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions