mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
chore: fix lint issue with no-unsafe-optional-chaining rule (#38103)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user