mirror of
https://github.com/apache/superset.git
synced 2026-07-19 05:05:39 +00:00
test(frontend): Migrate from describe/it to flat test() pattern (#35305)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user