test(frontend): Migrate from describe/it to flat test() pattern (#35305)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2025-09-28 11:45:33 -07:00
committed by GitHub
parent ff102aadb3
commit d62249d13f
255 changed files with 2017 additions and 1554 deletions

View File

@@ -137,6 +137,7 @@ fetchMock.post(
sendAsJson: false,
},
);
// eslint-disable-next-line no-restricted-globals -- TODO: Migrate from describe blocks
describe('ExploreChartHeader', () => {
jest.setTimeout(15000); // ✅ Applies to all tests in this suite
@@ -373,6 +374,7 @@ describe('ExploreChartHeader', () => {
});
});
// eslint-disable-next-line no-restricted-globals -- TODO: Migrate from describe blocks
describe('Additional actions tests', () => {
jest.setTimeout(15000); // ✅ Applies to all tests in this suite
@@ -505,6 +507,7 @@ describe('Additional actions tests', () => {
expect(props.actions.redirectSQLLab).toHaveBeenCalledTimes(1);
});
// eslint-disable-next-line no-restricted-globals -- TODO: Migrate from describe blocks
describe('Download', () => {
let spyDownloadAsImage = sinon.spy();
let spyExportChart = sinon.spy();