mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-27 23:03:11 +00:00
test(nav): reuse ORGANIZATIONS_LIST_PATH in sidebar spec
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
This commit is contained in:
parent
0dc3d22646
commit
ea6641071e
1 changed files with 2 additions and 6 deletions
|
|
@ -2,12 +2,8 @@
|
||||||
|
|
||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
|
|
||||||
import {
|
import { getCampaignNav, isCampaignNavActive } from '@/components/campaign/shell/nav'
|
||||||
getCampaignNav,
|
import { ORGANIZATIONS_LIST_PATH } from '@/lib/campaignQuickActionPaths'
|
||||||
isCampaignNavActive,
|
|
||||||
} from '@/components/campaign/shell/nav'
|
|
||||||
|
|
||||||
const ORGANIZATIONS_LIST_PATH = '/campanha/organizacoes'
|
|
||||||
|
|
||||||
describe('organizations sidebar entry', () => {
|
describe('organizations sidebar entry', () => {
|
||||||
it('is offered to staff after Lideranças', () => {
|
it('is offered to staff after Lideranças', () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue