Skip to content

Commit

Permalink
refactor: fix cr notes
Browse files Browse the repository at this point in the history
  • Loading branch information
simcha90 committed Feb 11, 2021
1 parent d8c89a6 commit 7c2bf4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('getChartIdsFromLayout', () => {
);
});

it('should encode filters with missed standalone', () => {
it('should encode filters with missing standalone', () => {
const urlWithStandalone = getDashboardUrl('path', filters, '', null);
expect(urlWithStandalone).toBe(
'path?preselect_filters=%7B%2235%22%3A%7B%22key%22%3A%5B%22value%22%5D%7D%7D',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import fetchMock from 'fetch-mock';
import EmbedCodeButton from 'src/explore/components/EmbedCodeButton';
import * as exploreUtils from 'src/explore/exploreUtils';
import * as urlUtils from 'src/utils/urlUtils';
import { DashboardStandaloneMode } from '../../../../src/dashboard/util/constants';
import { DashboardStandaloneMode } from 'src/dashboard/util/constants';

const ENDPOINT = 'glob:*/r/shortner/';

Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/spec/javascripts/explore/utils_spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import {
buildTimeRangeString,
formatTimeRange,
} from 'src/explore/dateFilterUtils';
import { DashboardStandaloneMode } from 'src/dashboard/util/constants';
import * as hostNamesConfig from 'src/utils/hostNamesConfig';
import { getChartMetadataRegistry } from '@superset-ui/core';
import { DashboardStandaloneMode } from '../../../src/dashboard/util/constants';

describe('exploreUtils', () => {
const { location } = window;
Expand Down

0 comments on commit 7c2bf4d

Please sign in to comment.