Skip to content

Commit 368aeb4

Browse files
author
Said Shah
committed
formatting
1 parent 0dbab30 commit 368aeb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/atoms/forms/password-input.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
);

0 commit comments

Comments
 (0)