Skip to content

Commit

Permalink
Fix typo in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
simpletrontdip committed Jul 21, 2021
1 parent f9ae5e5 commit 2f5258e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`createStyledAttrsMixin baseStyle should accept baseStyle as a function 1`] = `
<DocumentFragment>
.emotion-0 {
background: var(--colors-blue-200);
color: var(--colors-black);
border: 2px solid #0045b4;
}
<div
class="emotion-0"
data-chakra-component="FakeComponent"
>
Fake component
</div>
</DocumentFragment>
`;

exports[`createStyledAttrsMixin baseStyle should accept baseStyle as a function 2`] = `
<DocumentFragment>
.emotion-0 {
background: var(--colors-vue-200);
color: var(--colors-white);
border: 2px solid #7db1ff;
}
<div
class="emotion-0"
data-chakra-component="FakeComponent"
>
Fake component
</div>
</DocumentFragment>
`;

exports[`createStyledAttrsMixin baseStyle should be overiden by props 1`] = `
<DocumentFragment>
.emotion-0 {
Expand Down
2 changes: 1 addition & 1 deletion packages/chakra-ui-core/src/utils/component.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('createStyledAttrsMixin', () => {
color: colorMode === 'light' ? 'black' : 'white',
border: `2px solid ${
colorMode === 'light'
? theme.color.blue[600]
? theme.colors.blue[600]
: theme.colors.blue[200]
}`
})
Expand Down

0 comments on commit 2f5258e

Please sign in to comment.