Fix duplicate info messages for extension updates (#9760)

This commit is contained in:
Jacob MacDonald
2025-09-25 10:58:43 -07:00
committed by GitHub
parent a0c8e3bf2b
commit defda3a97d
3 changed files with 35 additions and 30 deletions

View File

@@ -143,7 +143,7 @@ describe('useExtensionUpdates', () => {
expect(addItem).toHaveBeenCalledWith(
{
type: MessageType.INFO,
text: 'Extension test-extension has an update available, run "/extensions update test-extension" to install it.',
text: 'You have 1 extension with an update available, run "/extensions list" for more information.',
},
expect.any(Number),
);