generated from arvinxx/monorepo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
packages/float-label-input/tests/__snapshots__/index.spec.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`FloatLabelInput 1`] = ` | ||
<div> | ||
<div> | ||
<input | ||
class="ant-input" | ||
label="test" | ||
type="text" | ||
value="" | ||
/> | ||
<label | ||
class="" | ||
style="margin-left: 8px; margin-top: -26px;" | ||
> | ||
test | ||
</label> | ||
</div> | ||
</div> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// import React from 'react'; | ||
// import { render } from '@testing-library/react'; | ||
import React from 'react'; | ||
import { render } from '@testing-library/react'; | ||
|
||
// import FloatLabelInput from '@arvinxu/float-label-input'; | ||
import FloatLabelInput from '@arvinxu/float-label-input'; | ||
|
||
test('FloatLabelInput', () => { | ||
// const { asFragment } = render(<FloatLabelInput label={'test'} />); | ||
// expect(asFragment).toMatchSnapshot(); | ||
const { container } = render(<FloatLabelInput label={'test'} />); | ||
expect(container).toMatchSnapshot(); | ||
}); |
cc18875
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: