Skip to content

Commit 033339a

Browse files
author
Pascal Wegner
committed
Format tests
1 parent 4b68f04 commit 033339a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/pwa/src/components/DurationInput/DurationInput.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import * as React from 'react';
2-
31
import { render, fireEvent, cleanup } from '@testing-library/react';
2+
import * as React from 'react';
43

54
import { DurationInput } from './DurationInput';
65
describe('DurationInput', () => {

packages/pwa/src/components/Input/Input.test.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import * as React from 'react';
2-
31
import { render, fireEvent } from '@testing-library/react';
2+
import * as React from 'react';
43

54
import { Input } from './Input';
65

@@ -39,7 +38,7 @@ describe('Input', () => {
3938
onBlur={handleBlur}
4039
/>
4140
);
42-
let input = getByDisplayValue(String(value));
41+
const input = getByDisplayValue(String(value));
4342
expect(input).toBeInTheDocument();
4443
fireEvent.focus(input);
4544
fireEvent.change(input, { target: { value: '' } });

0 commit comments

Comments
 (0)