aws / aws/agentcore-cli

bug: unit tests fail locally (not in CI)

Open
#1,526 0 comments 0 reactions 0 assignees View on GitHub
bug ci
Dominant language
TypeScript
Stars
283
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
183

Description

### Problem
Two unit test suites are failing locally, but not in CI.
`src/cli/tui/hooks/__tests__/useDevDeploy.test.tsx` and `src/cli/tui/screens/logs/__tests__/LogsScreen.test.tsx`

To reproduce,
`npm run test:unit src/cli/tui/screens/logs/__tests__/LogsScreen.test.tsx src/cli/tui/hooks/__tests__/useDevDeploy.test.tsx`

Then see the failures.

### Definition of Done
- Fix unit tests to ensure they pass locally and in CI.
- Ensure they aren't relying on CI environment and hiding real regressions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.