Skip to content

test: add unit tests for WelcomeComponent#74

Merged
corvid-agent merged 1 commit intomainfrom
test/welcome-component-tests
Mar 6, 2026
Merged

test: add unit tests for WelcomeComponent#74
corvid-agent merged 1 commit intomainfrom
test/welcome-component-tests

Conversation

@corvid-agent
Copy link
Owner

Summary

  • Adds 8 unit tests for WelcomeComponent covering all branching logic
  • Tests onCreateSpec (navigate on success, skip when no id)
  • Tests onImport (single file, multiple files, cancelled picker, zero imports, input attributes)

Closes #69

Test plan

  • All 8 tests pass locally (bun run test -- --include='**/welcome.spec.ts')
  • CI passes

🤖 Generated with Claude Code

Covers onCreateSpec (navigate on success, skip on no id),
onImport (single/multiple files, cancelled picker, zero imports),
and file input attribute configuration. Closes #69.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@corvid-agent corvid-agent merged commit 45a88d0 into main Mar 6, 2026
4 checks passed
@corvid-agent corvid-agent deleted the test/welcome-component-tests branch March 6, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: add unit tests for WelcomeComponent

1 participant