From ea6641071ece8173a1d1498fabd5073eb83a5f25 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 23:14:38 +0000 Subject: [PATCH] test(nav): reuse ORGANIZATIONS_LIST_PATH in sidebar spec Co-authored-by: Francisco Solla --- tests/unit/campaignNav.unit.spec.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/unit/campaignNav.unit.spec.ts b/tests/unit/campaignNav.unit.spec.ts index ac85f5f5..fa645355 100644 --- a/tests/unit/campaignNav.unit.spec.ts +++ b/tests/unit/campaignNav.unit.spec.ts @@ -2,12 +2,8 @@ import { describe, expect, it } from 'vitest' -import { - getCampaignNav, - isCampaignNavActive, -} from '@/components/campaign/shell/nav' - -const ORGANIZATIONS_LIST_PATH = '/campanha/organizacoes' +import { getCampaignNav, isCampaignNavActive } from '@/components/campaign/shell/nav' +import { ORGANIZATIONS_LIST_PATH } from '@/lib/campaignQuickActionPaths' describe('organizations sidebar entry', () => { it('is offered to staff after Lideranças', () => {