Skip to content

Commit 298d950

Browse files
Copilothotlong
andcommitted
style: remove extra blank lines in DetailView test for consistency
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 940cfa6 commit 298d950

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/plugin-detail/src/__tests__/DetailView.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,6 @@ describe('DetailView', () => {
514514
};
515515

516516
const { findByText } = render(<DetailView schema={schema} dataSource={mockDataSource} />);
517-
518517
expect(await findByText('Record not found')).toBeInTheDocument();
519518
expect(await findByText(/does not exist or may have been deleted/)).toBeInTheDocument();
520519
});
@@ -535,7 +534,6 @@ describe('DetailView', () => {
535534
};
536535

537536
const { findByText } = render(<DetailView schema={schema} dataSource={mockDataSource} onBack={onBack} />);
538-
539537
const goBackBtn = await findByText('Go back');
540538
fireEvent.click(goBackBtn);
541539
expect(onBack).toHaveBeenCalled();

0 commit comments

Comments
 (0)