mirror of
https://github.com/apache/superset.git
synced 2026-06-01 13:49:21 +00:00
fix: Add editors to ContributionConfig and additional properties to EditorKeyword (#38098)
This commit is contained in:
committed by
GitHub
parent
f049d3e34a
commit
1f76944c2b
@@ -184,13 +184,13 @@ test('passes keywords as objects to SQLEditorWithValidation for autocomplete', (
|
||||
expect(keyword).toHaveProperty('meta');
|
||||
});
|
||||
|
||||
// Verify column keywords specifically have docHTML for rich tooltips
|
||||
// Verify column keywords specifically have documentation for rich tooltips
|
||||
const columnKeywords = keywords.filter(
|
||||
(k: Record<string, unknown>) => k.meta === 'column',
|
||||
);
|
||||
expect(columnKeywords.length).toBe(2); // We passed 2 columns
|
||||
columnKeywords.forEach((keyword: Record<string, unknown>) => {
|
||||
expect(keyword).toHaveProperty('docHTML');
|
||||
expect(keyword).toHaveProperty('documentation');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user