also looking at this
fix(docs): deploy corrected active tabs
#81
6 files
+64
-5
| @@ -61,4 +61,12 @@ describe('themeConfig to CSS', () => { | ||
| 61 | 61 | |
| 62 | 62 | expect(html).not.toContain('--bp-c-brand-1: #') |
| 63 | 63 | }) |
| 64 | ||
| 65 | it('renders one branded active-tab treatment', async () => { | |
| 66 | const html = await render(BASE) | |
| 67 | ||
| 68 | expect(html.match(/\.code-group-tab\.active\s*\{/g)).toHaveLength(1) | |
| 69 | expect(html).toContain('--bp-code-tab-active-text-color: var(--bp-c-brand-1);') | |
| 70 | expect(html).not.toContain('border-bottom-color: #3451b2;') | |
| 71 | }) | |
| 64 | 72 | }) |