chore(lint): add jest/expect-expect rule for test assertions (#37887)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-02-11 11:06:34 -05:00
committed by GitHub
parent 88a14f2ba0
commit c28729f944
10 changed files with 35 additions and 10 deletions

View File

@@ -412,8 +412,10 @@ describe('UploadDataModal - Database and Schema Population', () => {
await userEvent.click(selectDatabase);
await userEvent.click(screen.getByText('database2'));
await userEvent.click(selectSchema);
await waitFor(() => screen.getAllByText('schema1'));
await waitFor(() => screen.getAllByText('schema2'));
await waitFor(() => {
expect(screen.getAllByText('schema1')).not.toHaveLength(0);
expect(screen.getAllByText('schema2')).not.toHaveLength(0);
});
}, 60000);
});