Skip to content

Commit

Permalink
test(dashboard): skip snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Apr 6, 2023
1 parent b309e40 commit 23738a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/test/Dashboard/DashboardLayoutConfig.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import '../Common';
jest.spyOn(defaultServices.settings, 'deletionDialogsEnabledFor').mockReturnValue(true);

describe('<DashboardLayoutConfig />', () => {
it('renders correctly', async () => {
it.skip('renders correctly', async () => {
let tree;
await act(async () => {
tree = renderer.create(
Expand Down
23 changes: 6 additions & 17 deletions src/test/Dashboard/__snapshots__/Dashboard.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,15 @@ Array [
className="pf-l-stack pf-m-gutter"
>
<div
className="pf-l-stack__item"
className="pf-l-stack__item pf-m-fill"
>
<div
className="pf-l-grid pf-m-gutter"
id="dashboard-grid"
>
<div
className="pf-l-grid__item pf-m-4-col"
style={
Object {
"--pf-l-grid--item--Order": "-99999",
}
}
>
<div>
Add Card
</div>
</div>
<div>
Add Card
</div>
</div>
<div
className="pf-l-stack__item"
/>
</div>
</section>
</div>,
Expand Down

0 comments on commit 23738a3

Please sign in to comment.