fix: add fallback for docs site during deployment (#1994) #8355
Annotations
2 errors
src/appchain/bridge/components/AppchainBridgeProvider.test.tsx > AppchainBridgeProvider > should handle network toggle correctly:
src/appchain/bridge/components/AppchainBridgeProvider.test.tsx#L180
AssertionError: expected { id: 1, name: 'Ethereum', …(2) } to deeply equal { id: 8453, name: 'Base', …(2) }
- Expected
+ Received
{
"icon": <svg
- className="ock-icon-color-foreground"
- data-testid="coinbaseLogoSvg"
+ aria-label="base"
+ data-testid="ock-baseSvg"
fill="none"
- height="24"
- viewBox="0 0 16 17"
- width="24"
+ height="100%"
+ role="img"
+ viewBox="0 0 146 146"
+ width="100%"
xmlns="http://www.w3.org/2000/svg"
>
- <title>
- Coinbase Pay Onramp
- </title>
+ <circle
+ cx="73"
+ cy="73"
+ fill="#0052FF"
+ r="73"
+ />
<path
- d="M7.93154 12.5C5.74045 12.5 3.96577 10.6354 3.96577 8.33333C3.96577 6.03125 5.74045 4.16667 7.93154 4.16667C9.8946 4.16667 11.5239 5.67014 11.8378 7.63889H15.8333C15.4962 3.36111 12.089 0 7.93154 0C3.55267 0 0 3.73264 0 8.33333C0 12.934 3.55267 16.6667 7.93154 16.6667C12.089 16.6667 15.4962 13.3056 15.8333 9.02778H11.8378C11.5239 10.9965 9.8946 12.5 7.93154 12.5Z"
- fill="#0052FF"
+ d="M73.323 123.729C101.617 123.729 124.553 100.832 124.553 72.5875C124.553 44.343 101.617 21.4463 73.323 21.4463C46.4795 21.4463 24.4581 42.0558 22.271 68.2887H89.9859V76.8864H22.271C24.4581 103.119 46.4795 123.729 73.323 123.729Z"
+ fill="white"
/>
</svg>,
- "id": 8453,
- "name": "Base",
+ "id": 1,
+ "name": "Ethereum",
"nativeCurrency": {
"decimals": 18,
"name": "Ethereum",
"symbol": "ETH",
},
}
❯ src/appchain/bridge/components/AppchainBridgeProvider.test.tsx:180:33
|
build (18.x)
Process completed with exit code 1.
|