File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/pages/AccountSettings/tabs/Access Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ import userEvent from '@testing-library/user-event'
3
3
import { MemoryRouter , Route } from 'react-router-dom'
4
4
import { type Mock } from 'vitest'
5
5
6
- import { useRevokeUserToken } from 'services/access'
6
+ import { useRevokeUserToken } from 'services/access/useRevokeUserToken '
7
7
8
8
import TokensTable from './TokensTable'
9
9
10
- vi . mock ( 'services/access' )
10
+ vi . mock ( 'services/access/useRevokeUserToken ' )
11
11
const mockedUseRevokeUserToken = useRevokeUserToken as Mock
12
12
13
13
window . confirm = ( ) => true
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import isNull from 'lodash/isNull'
8
8
import { useCallback , useMemo } from 'react'
9
9
import { useParams } from 'react-router-dom'
10
10
11
- import { useRevokeUserToken } from 'services/access'
12
11
import { UserToken } from 'services/access/SessionsQueryOpts'
12
+ import { useRevokeUserToken } from 'services/access/useRevokeUserToken'
13
13
import { cn } from 'shared/utils/cn'
14
14
import Button from 'ui/Button'
15
15
You can’t perform that action at this time.
0 commit comments