bito-code-review[bot] commented on code in PR #43729:
URL: https://github.com/apache/superset/pull/43729#discussion_r3909434441
##########
superset-frontend/plugins/plugin-chart-echarts/test/Timeseries/transformProps.test.ts:
##########
@@ -2877,6 +2877,77 @@ test('boundary label alignment is dropped when the
orientation moves the time ax
expect(horizontal.axisLabel.alignMaxLabel).toBeUndefined();
// The boundary labels themselves stay forced in both orientations.
+
+describe('xAxisLabelInterval string "0" is converted to number 0', () => {
Review Comment:
<!-- Bito Reply -->
Moving the `describe` block to the module scope is the correct approach to
resolve the nesting error. By defining the `describe` block at the top level
and moving the `monthData` fixture to the module scope, you ensure the tests
are correctly registered by Jest and have access to the necessary data.
**superset-frontend/plugins/plugin-chart-echarts/test/Timeseries/transformProps.test.ts**
```
const monthData = { ... };
describe('xAxisLabelInterval string "0" is converted to number 0', () => {
// Tests here
});
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]