mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore: Adds theme object to chart properties (#19951)
This commit is contained in:
committed by
GitHub
parent
5dd3ea154b
commit
e9032e95ec
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { ChartProps, QueryFormData } from '@superset-ui/core';
|
||||
import { ChartProps, QueryFormData, supersetTheme } from '@superset-ui/core';
|
||||
import { HandlebarsQueryFormData } from '../../src/types';
|
||||
import transformProps from '../../src/plugin/transformProps';
|
||||
|
||||
@@ -37,6 +37,7 @@ describe('Handlebars tranformProps', () => {
|
||||
width: 800,
|
||||
height: 600,
|
||||
queriesData: [{ data }],
|
||||
theme: supersetTheme,
|
||||
});
|
||||
|
||||
it('should tranform chart props for viz', () => {
|
||||
|
||||
Reference in New Issue
Block a user