chore(frontend-tests): Spelling (#19853)

* spelling: against

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: been

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: charts

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: clicking

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: columns

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: duplicate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: especially

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: extensions

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: fields

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: filter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: for

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: label

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: labeled

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nativefilter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: registry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: render

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: resizable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: response

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: successful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: transform

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: unfortunately

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: until

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: virtual

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: wrapper

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2022-04-26 13:35:01 -04:00
committed by GitHub
parent c32c505742
commit bebb10e495
28 changed files with 51 additions and 51 deletions

View File

@@ -20,7 +20,7 @@ import { ChartProps, SqlaFormData } from '@superset-ui/core';
import { EchartsBoxPlotChartProps } from '../../src/BoxPlot/types';
import transformProps from '../../src/BoxPlot/transformProps';
describe('BoxPlot tranformProps', () => {
describe('BoxPlot transformProps', () => {
const formData: SqlaFormData = {
datasource: '5__table',
granularity_sqla: 'ds',
@@ -68,7 +68,7 @@ describe('BoxPlot tranformProps', () => {
],
});
it('should tranform chart props for viz', () => {
it('should transform chart props for viz', () => {
expect(transformProps(chartProps as EchartsBoxPlotChartProps)).toEqual(
expect.objectContaining({
width: 800,

View File

@@ -25,7 +25,7 @@ import {
EchartsFunnelLabelTypeType,
} from '../../src/Funnel/types';
describe('Funnel tranformProps', () => {
describe('Funnel transformProps', () => {
const formData = {
colorScheme: 'bnbColors',
datasource: '3__table',
@@ -47,7 +47,7 @@ describe('Funnel tranformProps', () => {
],
});
it('should tranform chart props for viz', () => {
it('should transform chart props for viz', () => {
expect(transformProps(chartProps as EchartsFunnelChartProps)).toEqual(
expect.objectContaining({
width: 800,

View File

@@ -20,8 +20,8 @@ import { ChartProps } from '@superset-ui/core';
import transformProps from '../../src/Graph/transformProps';
import { DEFAULT_GRAPH_SERIES_OPTION } from '../../src/Graph/constants';
describe('EchartsGraph tranformProps', () => {
it('should tranform chart props for viz without category', () => {
describe('EchartsGraph transformProps', () => {
it('should transform chart props for viz without category', () => {
const formData = {
colorScheme: 'bnbColors',
datasource: '3__table',
@@ -149,7 +149,7 @@ describe('EchartsGraph tranformProps', () => {
);
});
it('should tranform chart props for viz with category and falsey normalization', () => {
it('should transform chart props for viz with category and falsey normalization', () => {
const formData = {
colorScheme: 'bnbColors',
datasource: '3__table',

View File

@@ -24,7 +24,7 @@ import {
import transformProps, { formatPieLabel } from '../../src/Pie/transformProps';
import { EchartsPieChartProps, EchartsPieLabelType } from '../../src/Pie/types';
describe('Pie tranformProps', () => {
describe('Pie transformProps', () => {
const formData: SqlaFormData = {
colorScheme: 'bnbColors',
datasource: '3__table',
@@ -47,7 +47,7 @@ describe('Pie tranformProps', () => {
],
});
it('should tranform chart props for viz', () => {
it('should transform chart props for viz', () => {
expect(transformProps(chartProps as EchartsPieChartProps)).toEqual(
expect.objectContaining({
width: 800,

View File

@@ -54,7 +54,7 @@ describe('EchartsTimeseries transformProps', () => {
queriesData,
};
it('should tranform chart props for viz', () => {
it('should transform chart props for viz', () => {
const chartProps = new ChartProps(chartPropsConfig);
expect(transformProps(chartProps as EchartsTimeseriesChartProps)).toEqual(
expect.objectContaining({

View File

@@ -19,7 +19,7 @@
import { ChartProps } from '@superset-ui/core';
import transformProps from '../../src/Tree/transformProps';
describe('EchartsTree tranformProps', () => {
describe('EchartsTree transformProps', () => {
const formData = {
colorScheme: 'bnbColors',
datasource: '3__table',
@@ -35,7 +35,7 @@ describe('EchartsTree tranformProps', () => {
width: 800,
height: 600,
};
it('should tranform when parent present before child', () => {
it('should transform when parent present before child', () => {
const queriesData = [
{
colnames: ['id_column', 'relation_column', 'name_column', 'count'],
@@ -102,7 +102,7 @@ describe('EchartsTree tranformProps', () => {
}),
);
});
it('should tranform when child is present before parent', () => {
it('should transform when child is present before parent', () => {
const queriesData = [
{
colnames: ['id_column', 'relation_column', 'name_column', 'count'],

View File

@@ -20,7 +20,7 @@ import { ChartProps } from '@superset-ui/core';
import { EchartsTreemapChartProps } from '../../src/Treemap/types';
import transformProps from '../../src/Treemap/transformProps';
describe('Treemap tranformProps', () => {
describe('Treemap transformProps', () => {
const formData = {
colorScheme: 'bnbColors',
datasource: '3__table',
@@ -42,7 +42,7 @@ describe('Treemap tranformProps', () => {
],
});
it('should tranform chart props for viz', () => {
it('should transform chart props for viz', () => {
expect(transformProps(chartProps as EchartsTreemapChartProps)).toEqual(
expect.objectContaining({
width: 800,

View File

@@ -230,7 +230,7 @@ describe('formatSeriesName', () => {
expect(formatSeriesName(12345678.9, { numberFormatter })).toEqual('12.3M');
});
it('should use default formatting for for date values without formatter', () => {
it('should use default formatting for date values without formatter', () => {
expect(formatSeriesName(new Date('2020-09-11'))).toEqual(
'2020-09-11T00:00:00.000Z',
);