Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Aug 3, 2023
1 parent ac5832e commit 11561cd
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@

## Documentation

For full documentation and examples, visit [wagmi.sh](https://wagmi.sh).
For documentation and examples, visit [wagmi.sh](https://wagmi.sh).

## Contributing

Check out the [contributing docs][contributing] to get started.
Check out the [Contributing docs][contributing] to get started.

## Sponsors

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/connect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to connect.
Version: viem@0.0.0-w-20230802141753]
Version: viem@1.5.1]
`)
})

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/actions/getFeeData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ test('default', async () => {
const result = await getFeeData(config)
expect(Object.keys(result)).toMatchInlineSnapshot(`
[
"lastBaseFeePerGas",
"formatted",
"gasPrice",
"lastBaseFeePerGas",
"maxFeePerGas",
"maxPriorityFeePerGas",
"formatted",
]
`)
})
2 changes: 1 addition & 1 deletion packages/core/src/actions/getToken.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ test('behavior: bogus token', async () => {
function: decimals()
Docs: https://viem.sh/docs/contract/multicall.html
Version: viem@0.0.0-w-20230802141753"
Version: viem@1.5.1"
`)
})
16 changes: 8 additions & 8 deletions packages/core/src/actions/readContracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ test('throws if allowFailure=false & a contract method fails', async () => {
args: (0xA0Cf798816D4b9b9866b5330EEa46a18382f251e, 69420)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753"
Version: viem@1.5.1"
`,
)
})
Expand Down Expand Up @@ -450,7 +450,7 @@ test('allowFailure=true & a contract method fails', async () => {
args: (0xA0Cf798816D4b9b9866b5330EEa46a18382f251e, 69420)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753],
Version: viem@1.5.1],
"result": undefined,
"status": "failure",
},
Expand All @@ -464,7 +464,7 @@ test('allowFailure=true & a contract method fails', async () => {
args: (0xA0Cf798816D4b9b9866b5330EEa46a18382f251e, 69421)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753],
Version: viem@1.5.1],
"result": undefined,
"status": "failure",
},
Expand Down Expand Up @@ -502,7 +502,7 @@ test('throws if allowFailure=false & encoding contract function data fails', asy
args: (1e+31)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753"
Version: viem@1.5.1"
`,
)
})
Expand Down Expand Up @@ -561,7 +561,7 @@ test('allowFailure=true & encoding contract function data fails', async () => {
args: (1e+31)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753],
Version: viem@1.5.1],
"result": undefined,
"status": "failure",
},
Expand All @@ -579,7 +579,7 @@ test('allowFailure=true & encoding contract function data fails', async () => {
args: (1e+31)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753],
Version: viem@1.5.1],
"result": undefined,
"status": "failure",
},
Expand Down Expand Up @@ -617,7 +617,7 @@ test('should throw if allowFailure=false & a contract has no response', async ()
args: (0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753"
Version: viem@1.5.1"
`,
)
})
Expand Down Expand Up @@ -669,7 +669,7 @@ test('allowFailure=true & a contract has no response', async () => {
args: (0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@0.0.0-w-20230802141753],
Version: viem@1.5.1],
"result": undefined,
"status": "failure",
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/signMessage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to sign message.
Version: viem@0.0.0-w-20230802141753]
Version: viem@1.5.1]
`)
await disconnect(config, { connector: connector_ })
})
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/signTypedData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to sign typed data.
Version: viem@0.0.0-w-20230802141753]
Version: viem@1.5.1]
`)
await disconnect(config, { connector: connector_ })
})
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/switchChain.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to switch chain.
Version: viem@0.0.0-w-20230802141753]
Version: viem@1.5.1]
`)
await disconnect(config, { connector: connector_ })
})
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ test('exports', () => {
"createConfig",
"createConnector",
"BaseError",
"ProviderNotFoundError",
"SwitchChainNotSupportedError",
"ChainMismatchError",
"ChainNotConfiguredError",
"ConnectorAlreadyConnectedError",
"ConnectorNotFoundError",
"ProviderNotFoundError",
"SwitchChainNotSupportedError",
"createStorage",
"noopStorage",
"deserialize",
Expand Down

1 comment on commit 11561cd

@vercel
Copy link

@vercel vercel bot commented on 11561cd Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wagmi-v2 – ./docs

wagmi-v2-wagmi-dev.vercel.app
wagmi-v2.vercel.app
wagmi-v2-git-alpha-wagmi-dev.vercel.app
alpha.wagmi.sh

Please sign in to comment.