Remove nested the exports
field in nested package.json
files
#2410
Annotations
9 errors and 1 warning
Run tests, against dist:
node_modules/redux-thunk/dist/redux-thunk.mjs#L7
TypeError: Cannot read properties of undefined (reading 'type')
❯ assertTagType node_modules/@reduxjs/toolkit/src/query/core/module.ts:366:36
❯ calculateProvidedBy node_modules/@reduxjs/toolkit/src/query/endpointDefinitions.ts:547:50
❯ handler node_modules/@reduxjs/toolkit/src/query/core/buildMiddleware/invalidationByTags.ts:34:22
❯ node_modules/@reduxjs/toolkit/src/query/core/buildMiddleware/index.ts:80:15
❯ ../../node_modules/redux-thunk/dist/redux-thunk.mjs:7:12
❯ Object.dispatch node_modules/@reduxjs/toolkit/src/utils.ts:14:5
❯ src/query/tests/buildMiddleware.test.tsx:82:24
|
Run tests, against dist:
node_modules/redux-thunk/dist/redux-thunk.mjs#L7
TypeError: Cannot read properties of undefined (reading 'type')
❯ assertTagType node_modules/@reduxjs/toolkit/src/query/core/module.ts:366:36
❯ calculateProvidedBy node_modules/@reduxjs/toolkit/src/query/endpointDefinitions.ts:547:50
❯ handler node_modules/@reduxjs/toolkit/src/query/core/buildMiddleware/invalidationByTags.ts:34:22
❯ node_modules/@reduxjs/toolkit/src/query/core/buildMiddleware/index.ts:80:15
❯ ../../node_modules/redux-thunk/dist/redux-thunk.mjs:7:12
❯ Object.dispatch node_modules/@reduxjs/toolkit/src/utils.ts:14:5
❯ src/query/tests/buildMiddleware.test.tsx:105:24
|
Run tests, against dist:
node_modules/redux-thunk/dist/redux-thunk.mjs#L7
TypeError: Cannot read properties of undefined (reading 'type')
❯ assertTagType node_modules/@reduxjs/toolkit/src/query/core/module.ts:366:36
❯ calculateProvidedBy node_modules/@reduxjs/toolkit/src/query/endpointDefinitions.ts:547:50
❯ handler node_modules/@reduxjs/toolkit/src/query/core/buildMiddleware/invalidationByTags.ts:34:22
❯ node_modules/@reduxjs/toolkit/src/query/core/buildMiddleware/index.ts:80:15
❯ ../../node_modules/redux-thunk/dist/redux-thunk.mjs:7:12
❯ Object.dispatch node_modules/@reduxjs/toolkit/src/utils.ts:14:5
❯ src/query/tests/buildMiddleware.test.tsx:105:24
|
Run tests, against dist:
packages/toolkit/src/query/tests/devWarnings.test.tsx#L74
AssertionError: expected [Function doDispatch] to not throw an error but 'Error: Warning: Middleware for RTK-Qu…' was thrown
- Expected:
undefined
+ Received:
"Error: Warning: Middleware for RTK-Query API at reducerPath \"api\" has not been added to the store.
You must add the middleware for RTK-Query to function correctly!"
❯ src/query/tests/devWarnings.test.tsx:74:30
|
Run tests, against dist:
packages/toolkit/src/query/tests/devWarnings.test.tsx#L166
AssertionError: expected "error" to not be called at all, but actually been called 1 times
Received:
1st error call:
Array [
"Error: No data found at `state.api`. Did you forget to add the reducer to the store?",
]
Number of calls: 1
❯ src/query/tests/devWarnings.test.tsx:166:37
|
Run tests, against dist:
packages/toolkit/src/query/tests/injectEndpoints.test.tsx#L92
AssertionError: expected "error" to not be called at all, but actually been called 2 times
Received:
1st error call:
Array [
"called `injectEndpoints` to override already-existing endpointName injected without specifying `overrideExisting: true`",
]
2nd error call:
Array [
"called `injectEndpoints` to override already-existing endpointName injected without specifying `overrideExisting: true`",
]
Number of calls: 2
❯ src/query/tests/injectEndpoints.test.tsx:92:33
|
Run tests, against dist:
packages/toolkit/src/query/tests/invalidation.test.tsx#L144
AssertionError: expected 1 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 1
❯ src/query/tests/invalidation.test.tsx:144:24
|
Run tests, against dist:
packages/toolkit/src/query/tests/invalidation.test.tsx#L144
AssertionError: expected 1 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 1
❯ src/query/tests/invalidation.test.tsx:144:24
|
Run tests, against dist
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading