Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tough-dodos-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Remove the CSS modules feature flag from the PageHeader component
6 changes: 3 additions & 3 deletions packages/react/src/PageHeader/PageHeader.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('PageHeader', () => {
* They are testing the internal implementation of the component and checking if the component
* is rendering the correct styles.This approach was necessary due to the impracticality of CSS media queries testing with Jest.
*/
it('respects default visibility of ContextArea and renders CSS media styles correctly', () => {
it.skip('respects default visibility of ContextArea and renders CSS media styles correctly', () => {
const expectedStyles = {
'-ms-flex-align': 'center',
'-ms-flex-direction': 'row',
Expand All @@ -71,7 +71,7 @@ describe('PageHeader', () => {
expect.objectContaining(expectedStyles),
)
})
it('respects the hidden prop of ContextArea and renders CSS media styles correctly', () => {
it.skip('respects the hidden prop of ContextArea and renders CSS media styles correctly', () => {
const expectedStyles = {
'-ms-flex-align': 'center',
'-ms-flex-direction': 'row',
Expand Down Expand Up @@ -110,7 +110,7 @@ describe('PageHeader', () => {
),
).toEqual(expect.objectContaining(expectedStyles))
})
it('respects default visibility of LeadingAction and TrailingAction and renders CSS media styles correctly', () => {
it.skip('respects default visibility of LeadingAction and TrailingAction and renders CSS media styles correctly', () => {
const expectedStyles = {
'-ms-flex-align': 'center',
'-webkit-align-items': 'center',
Expand Down
Loading
Loading