Skip to content

test(groups): fix group creation unit baseline#318

Open
catwithtudou wants to merge 1 commit into
deepcoldy:masterfrom
catwithtudou:scott9/fix-group-unit-baseline
Open

test(groups): fix group creation unit baseline#318
catwithtudou wants to merge 1 commit into
deepcoldy:masterfrom
catwithtudou:scott9/fix-group-unit-baseline

Conversation

@catwithtudou

Copy link
Copy Markdown
Contributor

Summary

  • Sync group creation unit tests with the current create-then-add-bots flow: createChat creates the creator chat, while additional bots are added through addBotToChat.
  • Update Dashboard IPC group-create tests to mock addBotToChat and keep invalid working-directory validation fail-fast before group creation side effects.
  • Add the missing isRemoteAccessEnabled global-config mock required by the /status terminal URL fixture.

Validation

  • CI=true npx --yes pnpm@9.5.0 vitest run --project unit test/group-creator.test.ts test/dashboard-ipc.test.ts test/command-handler.test.ts
  • CI=true npx --yes pnpm@9.5.0 build
  • CI=true npx --yes pnpm@9.5.0 test still has known out-of-scope failures only in test/git-worktree.test.ts macOS /private/var path normalization and test/sandbox.test.ts opaque-dir handling.

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.

1 participant