Skip to content

Commit 190adc0

Browse files
committed
Revert changes inside errorHandling.test.tsx
1 parent 6eb5603 commit 190adc0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/toolkit/src/query/tests/errorHandling.test.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import type { ThunkDispatch, UnknownAction } from '@reduxjs/toolkit'
22
import type { BaseQueryFn } from '@reduxjs/toolkit/query/react'
33
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'
94
import {
105
act,
116
fireEvent,
@@ -16,7 +11,7 @@ import {
1611
} from '@testing-library/react'
1712
import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios'
1813
import axios from 'axios'
19-
import { HttpResponse, http } from 'msw'
14+
import { rest } from 'msw'
2015
import * as React from 'react'
2116
import { useDispatch } from 'react-redux'
2217
import { hookWaitFor, setupApiStore } from '../../tests/utils/helpers'

0 commit comments

Comments
 (0)