Skip to content

Commit

Permalink
Update HeaderActionsDropdown.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley committed Mar 16, 2023
1 parent 07709a9 commit 04a56ef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const editModeOnProps = {
editMode: true,
};

const editModeOnPropsWithFilterScopes = {
const editModeOnWithFilterScopesProps = {
...editModeOnProps,
dashboardInfo: {
...editModeOnProps.dashboardInfo,
Expand Down Expand Up @@ -154,7 +154,7 @@ describe('with native filters feature flag disabled', () => {
});

it('should render filter mapping in edit mode if explicit filter scopes defined', async () => {
setup(editModeOnPropsWithFilterScopes);
setup(editModeOnWithFilterScopesProps);
expect(screen.getByText('Set filter mapping')).toBeInTheDocument();
});
});
Expand All @@ -180,7 +180,7 @@ describe('with native filters feature flag enabled', () => {
});

it('should render filter mapping in edit mode if explicit filter scopes defined', async () => {
setup(editModeOnPropsWithFilterScopes);
setup(editModeOnWithFilterScopesProps);
expect(screen.getByText('Set filter mapping')).toBeInTheDocument();
});
});
Expand Down

0 comments on commit 04a56ef

Please sign in to comment.