Skip to content

Commit

Permalink
Merge pull request #1656 from MartinaCastilloR/development
Browse files Browse the repository at this point in the history
Fix: prueba publicacion
  • Loading branch information
bsabatino authored Dec 13, 2023
2 parents d892e4c + 7f0b838 commit ea4cd82
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/button/test/Button.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ describe('Button', () => {

expect(tree).toMatchSnapshot()
})
test('dummyTest', () => {
const tree = renderer
.create(<Button variant='outlineDisabled'>{'Test'}</Button>)
.toJSON()

expect(tree).toMatchSnapshot()
})
test('primaryText', () => {
const tree = renderer
.create(<Button variant='primaryText'>{'Test'}</Button>)
Expand Down
55 changes: 55 additions & 0 deletions packages/button/test/__snapshots__/Button.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,61 @@ exports[`Button collapseButtonOpen 1`] = `
</div>
`;

exports[`Button dummyTest 1`] = `
.c0 {
box-sizing: border-box;
margin: 0;
min-width: 0;
position: relative;
}
.c1 {
box-sizing: border-box;
margin: 0;
min-width: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
line-height: inherit;
font-family: Nunito Sans;
text-align: center;
-webkit-text-decoration: none;
text-decoration: none;
cursor: pointer;
outline: none;
border: 0;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
white-space: nowrap;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
font-weight: bold;
border-radius: 12px;
}
<div
className="c0"
>
<button
className="c1"
type="button"
>
Test
</button>
</div>
`;

exports[`Button iconDisabled 1`] = `
.c0 {
box-sizing: border-box;
Expand Down

0 comments on commit ea4cd82

Please sign in to comment.