WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4a613d0

Browse files
committed
AG-8627 Fix build after rebase
1 parent 92db198 commit 4a613d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ag-charts-enterprise/src/features/zoom/zoom.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,14 +1128,14 @@ describe('Zoom', () => {
11281128
expect(zoomListener.mock.mock.calls[0][0]).not.toMatchObject(initialRatioY);
11291129
});
11301130
});
1131-
describe('resize', () => {
1131+
describe('preserveRatios', () => {
11321132
let zoomListener: ReturnType<typeof newFreezableZoomListenerMock>;
11331133
let initialRangeX: Pick<AgZoomEvent, 'rangeX'> | Pick<NonNullable<AgChartState['zoom']>, 'rangeX'>;
11341134
let initialRatioY: Pick<AgZoomEvent, 'ratioY'>;
11351135
beforeEach(async () => {
11361136
zoomListener = newFreezableZoomListenerMock();
11371137
await prepareChart(
1138-
{ onDataChange: { strategy: 'resize' } },
1138+
{ onDataChange: { strategy: 'preserveRatios' } },
11391139
{ ratioX: { start: 0.25, end: 0.75 } },
11401140
{
11411141
...UGLY_NUMBER_EXAMPLE_OPTIONS,

0 commit comments

Comments
 (0)