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

@@ -319,6 +319,7 @@ test('onChange is not called when close is clicked and canDelete is string, warn
expect(await screen.findByText('Test warning')).toBeInTheDocument();
});
// eslint-disable-next-line no-restricted-globals -- TODO: Migrate from describe blocks
describe('when disallow_adhoc_metrics is set', () => {
test('can drop a column type from the simple column selection', () => {
const adhocMetric = new AdhocMetric({

View File

@@ -24,6 +24,7 @@ import {
} from 'spec/helpers/testing-library';
import Option from 'src/explore/components/controls/DndColumnSelectControl/Option';
// eslint-disable-next-line no-restricted-globals -- TODO: Migrate from describe blocks
describe('Option', () => {
beforeAll(() => {
jest.setTimeout(30000);