Change names of community MQTT

This commit is contained in:
Jack Kingsman
2026-03-06 22:14:11 -08:00
parent da22eb5c48
commit d214da41c6
2 changed files with 5 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ const BotCodeEditor = lazy(() =>
const TYPE_LABELS: Record<string, string> = {
mqtt_private: 'Private MQTT',
mqtt_community: 'Community MQTT/mesh2mqtt',
mqtt_community: 'meshtomqtt/LetsMesh/MeshRank',
bot: 'Bot',
webhook: 'Webhook',
apprise: 'Apprise',
@@ -22,7 +22,7 @@ const TYPE_LABELS: Record<string, string> = {
const TYPE_OPTIONS = [
{ value: 'mqtt_private', label: 'Private MQTT' },
{ value: 'mqtt_community', label: 'Community MQTT/mesh2mqtt' },
{ value: 'mqtt_community', label: 'meshtomqtt/LetsMesh/MeshRank' },
{ value: 'bot', label: 'Bot' },
{ value: 'webhook', label: 'Webhook' },
{ value: 'apprise', label: 'Apprise' },

View File

@@ -84,7 +84,9 @@ describe('SettingsFanoutSection', () => {
fireEvent.click(screen.getByRole('button', { name: 'Add Integration' }));
expect(screen.getByRole('menuitem', { name: 'Private MQTT' })).toBeInTheDocument();
expect(screen.getByRole('menuitem', { name: 'Community MQTT/mesh2mqtt' })).toBeInTheDocument();
expect(
screen.getByRole('menuitem', { name: 'meshtomqtt/LetsMesh/MeshRank' })
).toBeInTheDocument();
expect(screen.getByRole('menuitem', { name: 'Webhook' })).toBeInTheDocument();
expect(screen.getByRole('menuitem', { name: 'Apprise' })).toBeInTheDocument();
expect(screen.getByRole('menuitem', { name: 'Bot' })).toBeInTheDocument();