mirror of
https://github.com/apache/superset.git
synced 2026-07-16 03:35:45 +00:00
build(deps): update major versions for memoize-one, json-stringify-pretty-compact and webpack-cli (#38793)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -234,7 +234,9 @@ describe('BigNumberTotal transformProps', () => {
|
||||
test('should propagate colorThresholdFormatters from getColorFormatters', () => {
|
||||
// Override the getColorFormatters mock to return specific value
|
||||
const mockFormatters = [{ formatter: 'red' }];
|
||||
(getColorFormatters as jest.Mock).mockReturnValueOnce(mockFormatters);
|
||||
(getColorFormatters as unknown as jest.Mock).mockReturnValueOnce(
|
||||
mockFormatters,
|
||||
);
|
||||
|
||||
const chartProps = {
|
||||
width: 800,
|
||||
|
||||
Reference in New Issue
Block a user