You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The getSyncingStats test fails when the RPC returns false. The test expects an object matching the SyncingStatus schema, but doesn't handle the case where false is returned, which is a valid response.
To Reproduce
Run the RPC provider tests using a synced Juno node(then result should be false). E.g: TEST_RPC_URL=https://free-rpc.nethermind.io/sepolia-juno npm run test -- -t getSyncingStats
Observe the failure
Expected behavior
Test should pass when starknet_syncing results is false
Desktop (please complete the following information):
Describe the bug
The getSyncingStats test fails when the RPC returns false. The test expects an object matching the SyncingStatus schema, but doesn't handle the case where false is returned, which is a valid response.
To Reproduce
Run the RPC provider tests using a synced Juno node(then result should be false). E.g:
TEST_RPC_URL=https://free-rpc.nethermind.io/sepolia-juno npm run test -- -t getSyncingStats
Observe the failure
Expected behavior
Test should pass when starknet_syncing results is false
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: