Description
components/ontology/reasoner-dialog.tsx has no component tests. This is a good first task for testing async UI with mocked dependencies.
Difficulty
Easy–Medium
Skills
React Testing Library, Jest
Relevant files
components/ontology/reasoner-dialog.tsx
components/ontology/__tests__/reasoner-dialog.test.tsx (create)
lib/ontology/reasoner.ts — mock this module
Tasks
Acceptance Criteria
- All new tests pass with
npm test
- Reasoner module is mocked — no WASM or long-running calls in CI
- Follow existing test patterns
Getting started
- Comment on this issue to get assigned
- Fork the repo and create a branch:
test/reasoner-dialog
- Run
npm ci && npm test before opening a PR
Description
components/ontology/reasoner-dialog.tsxhas no component tests. This is a good first task for testing async UI with mocked dependencies.Difficulty
Easy–Medium
Skills
React Testing Library, Jest
Relevant files
components/ontology/reasoner-dialog.tsxcomponents/ontology/__tests__/reasoner-dialog.test.tsx(create)lib/ontology/reasoner.ts— mock this moduleTasks
Acceptance Criteria
npm testGetting started
test/reasoner-dialognpm ci && npm testbefore opening a PR