Issue: Unused variables in test file
mockDocumentwas assigned but never usedmockWindowwas assigned but never usedelementStylewas assigned but never usedeventparameter was defined but never used
Fix Applied: Removed all unused variables and parameters
Verification:
$ yarn lint
✓ All files pass ESLint
✓ All files pass PrettierCommit: 045cdf1 - "fix: remove unused variables in footer tracking tests"
Issue: PR title doesn't follow conventional commit format
Current Title:
Amplitude footer click event
Required Title (choose one):
feat(guides): track powered by amplitude footer clicks
or
feat: add click tracking for guides footer
How to Fix:
- Go to the PR on GitHub: #623
- Click "Edit" next to the PR title
- Update to one of the suggested titles above
- Save
Why: Amplitude uses semantic versioning based on conventional commit format in PR titles. The feat: prefix will trigger a minor version bump when this is merged.
Note: Automated update via gh pr edit failed due to permission restrictions (GraphQL: Resource not accessible by integration).
- ✅ ESLint + Prettier: PASS (fixed in commit 045cdf1)
⚠️ PR Semantic Title: PENDING (manual update required)
# Verify lint passes locally
yarn lint
# Check ESLint on specific files
npx eslint test/guides-footer-tracking.test.js --no-ignore
npx eslint guides-footer-tracking.js --no-ignore
# Check Prettier
npx prettier --check guides-footer-tracking.js test/guides-footer-tracking.test.jsAll commands should pass ✅
Fixed Automatically:
- Removed unused variables from test file
- Removed unused event parameter
- All ESLint checks now pass
- All Prettier checks now pass
Requires Manual Action:
- Update PR title on GitHub to follow
feat(scope): descriptionformat - Suggested:
feat(guides): track powered by amplitude footer clicks
Once the PR title is updated, all CI checks should pass.