Skip to content

Commit

Permalink
test(react): Add snapshot for Switch component
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Oct 31, 2023
1 parent 892bea3 commit 9a75fa2
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Alert should match the snapshot 1`] = `
<body>
<div>
<span
class="MuiSwitch-root MuiSwitch-sizeMedium oxygen-switch css-julti5-MuiSwitch-root"
>
<span
class="MuiButtonBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary PrivateSwitchBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary css-67kisp-MuiButtonBase-root-MuiSwitch-switchBase"
>
<input
class="PrivateSwitchBase-input MuiSwitch-input css-1m9pwf3"
type="checkbox"
/>
<span
class="MuiSwitch-thumb css-1fn27bw-MuiSwitch-thumb"
/>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</span>
<span
class="MuiSwitch-track css-14pk2-MuiSwitch-track"
/>
</span>
</div>
</body>
`;

0 comments on commit 9a75fa2

Please sign in to comment.