hunk.code_window:     const name = 'topic-name';
       const topicId = 'topic-id';
       const mockedResponse = {
         totalCount: 1,
         pageSize: 10,
         page: 0,
         data: [
           {
             _id: 'topic-id',
             _environmentId: 'environment-id',
             _organizationId: 'organization-id',
             key,
             name,
             subscribers: ['subscriber-id-1', 'subscriber-id-2'],
           },
         ],
       };
       mockedAxios.get.mockResolvedValue(mockedResponse);
       const result = await novu.topics.list({ page: 0 });
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:       data: {
           totalCount: 1,
           pageSize: 10,
           page: 0,
           data: [
             {
               _id: 'topic-id',
               _environmentId: 'environment-id',
               _organizationId: 'organization-id',
               key,
               name,
               subscribers: ['subscriber-id-1', 'subscriber-id-2'],
             },
           ],
         },
  
hunk.file_path: packages/node/src/lib/topics/topics.spec.ts
hunk.type: replace
file: import React from 'react';
  import { Button as MantineButton } from '@mantine/core';
  
  import useStyles from './Button.styles';
  import { SpacingProps } from '../shared/spacing.props';
  
  export type Size = 'md' | 'lg' | undefined;
  
  interface IButtonProps extends JSX.ElementChildrenAttribute, SpacingProps {
    loading?: boolean;
    size?: Size;
    variant?: 'outline' | 'gradient';
    disabled?: boolean;
    icon?: React.ReactNode;
    fullWidth?: boolean;
    submit?: boolean;
    onClick?: (e: any) => void;
    inherit?: boolean;
  }
  
  /**
   * Button component
   *
   */
  export function Button({
    loading,
    children,
    submit = false,
    icon,
    size = 'md',
    fullWidth,
    disabled = false,
    inherit = false,
    onClick,
    variant = 'gradient',
    ...props
  }: IButtonProps) {
    const { classes } = useStyles({ disabled, inherit, variant });
    const withIconProps = icon ? { leftIcon: icon } : {};
  
    return (
      <MantineButton
        radius="md"
        classNames={classes}
        {...withIconProps}
        type={submit ? 'submit' : 'button'}
        onClick={onClick}
        disabled={disabled}
        size={size}
        loading={loading}
        fullWidth={fullWidth}
        variant={variant}
        {...props}
      >
        {children}
      </MantineButton>
    );
  }
  