ReviewOS

also looking at this

stacks/bunpress

fix(docs): deploy corrected active tabs

#81
Merged chrisbbreuer wants to merge agent/fix-active-tab-deploy into main
6 files +64 -5
test/theme-config-css.test.tsmodified+8-0
Changes to test/theme-config-css.test.ts
@@ -61,4 +61,12 @@ describe('themeConfig to CSS', () => {
6161
6262 expect(html).not.toContain('--bp-c-brand-1: #')
6363 })
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 })
6472})