Skip to content

Commit

Permalink
fix(Explore): Remove changes to the properties on cancel (apache#17184)
Browse files Browse the repository at this point in the history
* Remove on close

* Fix lint

* Add tests
  • Loading branch information
geido authored and AAfghahi committed May 9, 2022
1 parent a355dfc commit 5844998
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
import React from 'react';
import { render, screen } from 'spec/helpers/testing-library';
import userEvent from '@testing-library/user-event';

import fetchMock from 'fetch-mock';
import ExploreHeader from '.';

fetchMock.get('http://localhost/api/v1/chart/318', {});

const createProps = () => ({
chart: {
latestQueryFormData: {
Expand Down

0 comments on commit 5844998

Please sign in to comment.