|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | 3 | exports[`CLI options testing should accept a valid url as the target swagger file and generate a client 1`] = ` |
4 | | -import { createApi, fetchBaseQuery } from "@rtk-incubator/rtk-query"; |
| 4 | +import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query"; |
5 | 5 | export const api = createApi({ |
6 | 6 | baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }), |
7 | 7 | tagTypes: [], |
@@ -270,7 +270,7 @@ export type User = { |
270 | 270 | `; |
271 | 271 |
|
272 | 272 | exports[`CLI options testing should create a file when --file is specified 1`] = ` |
273 | | -import { createApi, fetchBaseQuery } from '@rtk-incubator/rtk-query'; |
| 273 | +import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query'; |
274 | 274 | export const api = createApi({ |
275 | 275 | baseQuery: fetchBaseQuery({ baseUrl: '/api/v3' }), |
276 | 276 | tagTypes: [], |
@@ -497,8 +497,8 @@ export type User = { |
497 | 497 | `; |
498 | 498 |
|
499 | 499 | exports[`CLI options testing should generate react hooks as a part of the output 1`] = ` |
500 | | -import { createApi } from "@rtk-incubator/rtk-query/react"; |
501 | | -import { fetchBaseQuery } from "@rtk-incubator/rtk-query"; |
| 500 | +import { createApi } from "@reduxjs/toolkit/query/react"; |
| 501 | +import { fetchBaseQuery } from "@reduxjs/toolkit/query"; |
502 | 502 | export const api = createApi({ |
503 | 503 | baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }), |
504 | 504 | tagTypes: [], |
@@ -799,7 +799,7 @@ export const { |
799 | 799 | `; |
800 | 800 |
|
801 | 801 | exports[`CLI options testing should log output to the console when a filename is not specified 1`] = ` |
802 | | -import { createApi, fetchBaseQuery } from "@rtk-incubator/rtk-query"; |
| 802 | +import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query"; |
803 | 803 | export const api = createApi({ |
804 | 804 | baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }), |
805 | 805 | tagTypes: [], |
@@ -1078,7 +1078,7 @@ export type User = { |
1078 | 1078 | `; |
1079 | 1079 |
|
1080 | 1080 | exports[`yaml parsing should be able to use read a yaml file and create a file with the output when --file is specified 1`] = ` |
1081 | | -import { createApi, fetchBaseQuery } from '@rtk-incubator/rtk-query'; |
| 1081 | +import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query'; |
1082 | 1082 | export const api = createApi({ |
1083 | 1083 | baseQuery: fetchBaseQuery({ baseUrl: '/api/v3' }), |
1084 | 1084 | tagTypes: [], |
@@ -1298,7 +1298,7 @@ export type User = { |
1298 | 1298 | `; |
1299 | 1299 |
|
1300 | 1300 | exports[`yaml parsing should parse a yaml schema from a URL 1`] = ` |
1301 | | -import { createApi, fetchBaseQuery } from "@rtk-incubator/rtk-query"; |
| 1301 | +import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query"; |
1302 | 1302 | export const api = createApi({ |
1303 | 1303 | baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }), |
1304 | 1304 | tagTypes: [], |
|
0 commit comments