chore(build): uplift several outdated frontend packages (#29652)

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
Đỗ Trọng Hải
2024-08-06 22:02:01 +07:00
committed by GitHub
parent 9fed576cb4
commit 1c3ef01209
20 changed files with 10005 additions and 32451 deletions

View File

@@ -115,8 +115,8 @@ describe('QueryLimitSelect', () => {
const expectedLabels = [10, 100, 1000, 10000, 50000].map(i =>
convertToNumWithSpaces(i),
);
const actualLabels = getAllByRole('menuitem').map(
elem => elem.textContent?.trim(),
const actualLabels = getAllByRole('menuitem').map(elem =>
elem.textContent?.trim(),
);
expect(actualLabels).toEqual(expectedLabels);
@@ -135,8 +135,8 @@ describe('QueryLimitSelect', () => {
await waitFor(() => expect(getByRole('menu')).toBeInTheDocument());
const expectedLabels = [5].map(i => convertToNumWithSpaces(i));
const actualLabels = getAllByRole('menuitem').map(
elem => elem.textContent?.trim(),
const actualLabels = getAllByRole('menuitem').map(elem =>
elem.textContent?.trim(),
);
expect(actualLabels).toEqual(expectedLabels);
@@ -157,8 +157,8 @@ describe('QueryLimitSelect', () => {
const expectedLabels = [10, 100, 1000, 10000].map(i =>
convertToNumWithSpaces(i),
);
const actualLabels = getAllByRole('menuitem').map(
elem => elem.textContent?.trim(),
const actualLabels = getAllByRole('menuitem').map(elem =>
elem.textContent?.trim(),
);
expect(actualLabels).toEqual(expectedLabels);