File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ describe("PasswordInput", () => {
1313 // Act
1414 const { getByTestId } = render (
1515 < PasswordInput
16- onChange = { ( ) => { } }
1716 isVisible = { true }
1817 id = { uuid ( ) }
18+ onChange = { ( ) => { } }
1919 testId = { testDataId }
2020 />
2121 ) ;
@@ -27,15 +27,15 @@ describe("PasswordInput", () => {
2727 test ( "when onChange prop set, calls handler upon change" , ( ) => {
2828 // Arrange
2929 let isChecked = false ;
30- const testDataId = "testDataId" ;
3130 const handleChange = ( ) => ( isChecked = true ) ;
31+ const testDataId = "testDataId" ;
3232
3333 // Act
3434 const { getByTestId } = render (
3535 < PasswordInput
36- onChange = { handleChange }
3736 isVisible = { true }
3837 id = { uuid ( ) }
38+ onChange = { handleChange }
3939 testId = { testDataId }
4040 />
4141 ) ;
You can’t perform that action at this time.
0 commit comments