Skip to content

Commit

Permalink
Removed useless markSizeRatio at mocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuznietsov committed May 20, 2022
1 parent 7ee9618 commit b72c9cd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export const createArgsWithLayers = (
mode: 'full',
type: 'axisExtentConfig',
},
markSizeRatio: 5,
layers: Array.isArray(layers) ? layers : [layers],
yLeftScale: 'linear',
yRightScale: 'linear',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { XY_VIS } from '../constants';
describe('layeredXyVis', () => {
test('it renders with the specified data and args', async () => {
const { data, args } = sampleArgs();
const { layers, markSizeRatio, ...rest } = args;
const { layers, ...rest } = args;
const result = await layeredXyVisFunction.fn(
data,
{ ...rest, layers: [sampleExtendedLayer] },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('xyVis', () => {
}
),
} as Datatable;
const { layers, markSizeRatio, ...rest } = args;
const { layers, ...rest } = args;
const { layerId, layerType, table, type, ...restLayerArgs } = sampleLayer;
const result = await xyVisFunction.fn(
newData,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b72c9cd

Please sign in to comment.