Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandernsilva committed Nov 18, 2024
1 parent 808c0ce commit 4d3b869
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import React from 'react';

import { DOWNGRADE_LINK } from '../utils/links';
import { CancelSubscriptionModal } from './CancelSubscriptionModal';
import { DOWNGRADE_LINK } from '../utils/links';

it('should display plan name in the title', async () => {
const confirmFn = jest.fn();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { mockAppRoot } from '@rocket.chat/mock-providers';
import { act, renderHook, screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';

import createDeferredMockFn from '../../../../../tests/mocks/utils/createDeferredMockFn';
import { useCancelSubscriptionModal } from './useCancelSubscriptionModal';
import createDeferredMockFn from '../../../../../tests/mocks/utils/createDeferredMockFn';

jest.mock('../../../../hooks/useLicense', () => ({
...jest.requireActual('../../../../hooks/useLicense'),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { useSetModal } from '@rocket.chat/ui-contexts';
import React, { useCallback } from 'react';

import { useRemoveLicense } from './useRemoveLicense';
import { useLicenseName } from '../../../../hooks/useLicense';
import { CancelSubscriptionModal } from '../components/CancelSubscriptionModal';
import { useRemoveLicense } from './useRemoveLicense';

export const useCancelSubscriptionModal = () => {
const { data: planName = '' } = useLicenseName();
Expand Down

0 comments on commit 4d3b869

Please sign in to comment.