File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
packages/toolkit/src/query/tests Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
1
import type { ThunkDispatch , UnknownAction } from '@reduxjs/toolkit'
2
2
import type { BaseQueryFn } from '@reduxjs/toolkit/query/react'
3
3
import { createApi , fetchBaseQuery } from '@reduxjs/toolkit/query/react'
4
- import { rest } from 'msw'
5
- import type { AxiosError , AxiosRequestConfig , AxiosResponse } from 'axios'
6
- import axios from 'axios'
7
- import { expectExactType , hookWaitFor , setupApiStore } from './helpers'
8
- import { server } from './mocks/server'
9
4
import {
10
5
act ,
11
6
fireEvent ,
@@ -16,7 +11,7 @@ import {
16
11
} from '@testing-library/react'
17
12
import type { AxiosError , AxiosRequestConfig , AxiosResponse } from 'axios'
18
13
import axios from 'axios'
19
- import { HttpResponse , http } from 'msw'
14
+ import { rest } from 'msw'
20
15
import * as React from 'react'
21
16
import { useDispatch } from 'react-redux'
22
17
import { hookWaitFor , setupApiStore } from '../../tests/utils/helpers'
You can’t perform that action at this time.
0 commit comments