Update @testing-library/react from 13.3.0 to 16.0.1; Fixes #4685 #7525
tests.yml
on: pull_request
Check for changes
7s
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: Test against dist
Matrix: test-published-artifact
Matrix: test-type-portability
Matrix: test-types
Annotations
2 errors
src/query/tests/buildHooks.test.tsx > hooks tests > usePrefetch > usePrefetch respects force arg:
packages/toolkit/src/query/tests/buildHooks.test.tsx#L1731
AssertionError: expected { status: 'fulfilled', …(10) } to deeply equal { data: { name: 'Timmy' }, …(11) }
- Expected
+ Received
Object {
"data": Object {
"name": "Timmy",
},
"endpointName": "getUser",
- "error": undefined,
"fulfilledTimeStamp": Any<Number>,
"isError": false,
- "isLoading": true,
- "isSuccess": false,
+ "isLoading": false,
+ "isSuccess": true,
"isUninitialized": false,
"originalArgs": 4,
"requestId": Any<String>,
"startedTimeStamp": Any<Number>,
- "status": "pending",
+ "status": "fulfilled",
}
❯ src/query/tests/buildHooks.test.tsx:1731:9
|
Test against dist (20.x)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
package
|
1.16 MB |
|