fix: explore replace wrong standalone slice url (#12359)

This commit is contained in:
Duy Nguyen Hoang
2021-01-10 04:32:06 +07:00
committed by GitHub
parent 3eb0470a2f
commit 99de8a49b6
3 changed files with 17 additions and 1 deletions

View File

@@ -199,6 +199,16 @@ describe('exploreUtils', () => {
URI('/superset/explore/').search({ form_data: sFormData }),
);
});
it('generates url with standalone', () => {
compareURI(
URI(getExploreLongUrl(formData, 'standalone')),
URI('/superset/explore/').search({
form_data: sFormData,
standalone: 'true',
}),
);
});
});
describe('buildV1ChartDataPayload', () => {