mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
chore: Adds theme object to chart properties (#19951)
This commit is contained in:
committed by
GitHub
parent
5dd3ea154b
commit
e9032e95ec
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { ChartProps } from '@superset-ui/core';
|
||||
import { ChartProps, supersetTheme } from '@superset-ui/core';
|
||||
import transformProps from '../../src/legacyPlugin/transformProps';
|
||||
|
||||
describe('WordCloud transformProps', () => {
|
||||
@@ -40,6 +40,7 @@ describe('WordCloud transformProps', () => {
|
||||
data: [{ name: 'Hulk', sum__num: 1 }],
|
||||
},
|
||||
],
|
||||
theme: supersetTheme,
|
||||
});
|
||||
|
||||
it('should transform chart props for word cloud viz', () => {
|
||||
|
||||
Reference in New Issue
Block a user