mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
chore(deps-dev): bump oxlint from 1.48.0 to 1.49.0 in /superset-frontend (#38115)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -89,6 +89,18 @@ function getYAxisFormatter(
|
||||
return yAxis.axisLabel!.formatter!;
|
||||
}
|
||||
|
||||
const queriesData: ChartDataResponseResult[] = [
|
||||
createTestQueryData(
|
||||
createTestData(
|
||||
[
|
||||
{ 'San Francisco': 1, 'New York': 2 },
|
||||
{ 'San Francisco': 3, 'New York': 4 },
|
||||
],
|
||||
{ intervalMs: 300000000 },
|
||||
),
|
||||
),
|
||||
];
|
||||
|
||||
/**
|
||||
* Creates a properly typed EchartsTimeseriesChartProps for testing.
|
||||
* Uses shared createEchartsTimeseriesTestChartProps with Timeseries defaults.
|
||||
@@ -128,17 +140,7 @@ const formData: SqlaFormData = {
|
||||
groupby: ['foo', 'bar'],
|
||||
viz_type: 'my_viz',
|
||||
};
|
||||
const queriesData: ChartDataResponseResult[] = [
|
||||
createTestQueryData(
|
||||
createTestData(
|
||||
[
|
||||
{ 'San Francisco': 1, 'New York': 2 },
|
||||
{ 'San Francisco': 3, 'New York': 4 },
|
||||
],
|
||||
{ intervalMs: 300000000 },
|
||||
),
|
||||
),
|
||||
];
|
||||
|
||||
describe('EchartsTimeseries transformProps', () => {
|
||||
test('should transform chart props for viz', () => {
|
||||
const chartProps = createTestChartProps({});
|
||||
|
||||
Reference in New Issue
Block a user