Skip to content

Commit

Permalink
UIPQB-164: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UladzislauKutarkin committed Dec 24, 2024
1 parent 755fd0d commit 6c99890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QueryBuilder/ResultViewer/ResultViewer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ describe('ResultViewer', () => {
});

describe('Initial and visible columns setters', () => {
it.each([[], undefined])('should call both when no initial fields are provided (recordColumns=%s)', async (visibleColumns) => {
render(renderResultViewer({ visibleColumns }));
it.each([[], undefined])('should call both when no initial fields are provided (recordColumns=%s)', async () => {
render(renderResultViewer({ visibleColumns: ['user_id'] }));

await waitFor(() => {
expect(screen.queryByText('ui-plugin-query-builder.viewer.retrieving')).not.toBeInTheDocument();
Expand Down

0 comments on commit 6c99890

Please sign in to comment.