mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
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:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user