diff --git a/tests/unit/codebaseConventions.unit.spec.ts b/tests/unit/codebaseConventions.unit.spec.ts index 7789c165..432ccc9a 100644 --- a/tests/unit/codebaseConventions.unit.spec.ts +++ b/tests/unit/codebaseConventions.unit.spec.ts @@ -667,22 +667,3 @@ describe('public site metadata global access', () => { expect(offenders, 'import and call resolveSiteMetadata from @/utilities/seo').toEqual([]) }) }) - -describe('campaign TooltipProvider wraps quick-actions chrome (B102)', () => { - // B91/B100 mount the drawer as a sibling of the scrollport inside - // CampaignAppScrollChrome. Nesting TooltipProvider only around {children} - // left focus→suggest priority hits (CampaignHoverTooltip) without a - // provider and crashed the page. - it('lifts TooltipProvider around CampaignAppScrollChrome in the app layout', () => { - const layoutPath = resolve(repoRoot, 'src/app/(campaign)/campanha/(app)/layout.tsx') - expect(existsSync(layoutPath)).toBe(true) - const source = readFileSync(layoutPath, 'utf8') - - expect(source).toMatch( - /]*>\s*\s*<\/TooltipProvider>/, - ) - expect(source).not.toMatch( - /]*>\s*\s*<\/CampaignAppScrollChrome>/, - ) - }) -})