Skip to content

Commit faffc27

Browse files
phryneasmarkerikson
authored andcommitted
fix test case protocol
1 parent 626d0ab commit faffc27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/toolkit/src/query/tests/createApi.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ test('providesTags and invalidatesTags can use baseQueryMeta', async () => {
731731
type SuccessResponse = { value: 'success' }
732732

733733
const api = createApi({
734-
baseQuery: fetchBaseQuery({ baseUrl: 'http://example.com' }),
734+
baseQuery: fetchBaseQuery({ baseUrl: 'https://example.com' }),
735735
tagTypes: ['success'],
736736
endpoints: (build) => ({
737737
query: build.query<SuccessResponse, void>({
@@ -754,7 +754,6 @@ test('providesTags and invalidatesTags can use baseQueryMeta', async () => {
754754
const storeRef = setupApiStore(api)
755755

756756
await storeRef.store.dispatch(api.endpoints.query.initiate())
757-
758757
expect('request' in _meta! && 'response' in _meta!).toBe(true)
759758

760759
_meta = undefined

0 commit comments

Comments
 (0)