chore: fix lint issue with no-unsafe-optional-chaining rule (#38103)

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
Đỗ Trọng Hải
2026-02-19 23:54:37 +07:00
committed by GitHub
parent c175346808
commit 0b77ace110
2 changed files with 4 additions and 4 deletions

View File

@@ -431,5 +431,5 @@ test('should add a formula annotation when X-axis column has dataset-level label
expect(formulaSeries).toBeDefined();
expect(formulaSeries?.data).toBeDefined();
expect(Array.isArray(formulaSeries?.data)).toBe(true);
expect((formulaSeries?.data as unknown[]).length).toBeGreaterThan(0);
expect((formulaSeries?.data as unknown[])?.length).toBeGreaterThan(0);
});