Skip to content

Commit

Permalink
Replace flag in test also
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Oct 8, 2024
1 parent 1cf9574 commit b4a9a4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react/src/Button/__tests__/Button.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ describe('Button', () => {
expect(triggerEl.getAttribute('aria-describedby')).toEqual(expect.stringContaining(tooltipEl.id))
})

describe('with primer_react_css_modules_staff enabled', () => {
describe('with primer_react_css_modules_ga enabled', () => {
it('iconbutton should support custom `className` along with default classnames', () => {
const {container} = render(
<FeatureFlags
flags={{
primer_react_css_modules_staff: true,
primer_react_css_modules_ga: true,
}}
>
<IconButton className="test" aria-label="Test" icon={HeartIcon} />
Expand All @@ -320,7 +320,7 @@ describe('Button', () => {
const {container} = render(
<FeatureFlags
flags={{
primer_react_css_modules_staff: true,
primer_react_css_modules_ga: true,
}}
>
<Button className="test">Hello</Button>
Expand All @@ -333,7 +333,7 @@ describe('Button', () => {
const {container} = render(
<FeatureFlags
flags={{
primer_react_css_modules_staff: true,
primer_react_css_modules_ga: true,
}}
>
<LinkButton className="test">Hello</LinkButton>
Expand Down

0 comments on commit b4a9a4e

Please sign in to comment.