Skip to content

Commit 9f7b04b

Browse files
committed
fix lint
1 parent d240675 commit 9f7b04b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/render-async.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import { getConfig } from './config';
1111
import { getHostSelves } from './helpers/component-tree';
1212
import type { DebugOptions } from './helpers/debug';
1313
import { debug } from './helpers/debug';
14+
import { ErrorWithStack } from './helpers/errors';
1415
import { renderWithAsyncAct } from './render-act';
1516
import { setRenderResult } from './screen';
1617
import { getQueriesForElement } from './within';
17-
import { ErrorWithStack } from './helpers/errors';
1818

1919
export interface RenderAsyncOptions {
2020
/**
@@ -71,7 +71,9 @@ function buildRenderResult(
7171
};
7272
const rerenderAsync = async function (component: React.ReactElement) {
7373
// eslint-disable-next-line require-await
74-
await act(async () => { renderer.update(wrap(component)); });
74+
await act(async () => {
75+
renderer.update(wrap(component));
76+
});
7577
};
7678

7779
const unmount = () => {

src/user-event/scroll/__tests__/__snapshots__/scroll-to-flat-list.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`scrollTo() with FlatList supports vertical drag scroll: scrollTo({ y: 100 }) 1`] = `
44
[

0 commit comments

Comments
 (0)