Skip to content

Commit

Permalink
chore: update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Dec 7, 2023
1 parent e2d4248 commit d84e11a
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 15 deletions.
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 @@ -57,7 +57,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to connect.
Version: viem@2.0.0-beta.9]
Version: viem@2.0.0-beta.13]
`)
})

Expand Down
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@2.0.0-beta.9"
Version: viem@2.0.0-beta.13"
`)
})
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@2.0.0-beta.9"
Version: viem@2.0.0-beta.13"
`,
)
})
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@2.0.0-beta.9],
Version: viem@2.0.0-beta.13],
"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@2.0.0-beta.9],
Version: viem@2.0.0-beta.13],
"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@2.0.0-beta.9"
Version: viem@2.0.0-beta.13"
`,
)
})
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@2.0.0-beta.9],
Version: viem@2.0.0-beta.13],
"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@2.0.0-beta.9],
Version: viem@2.0.0-beta.13],
"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@2.0.0-beta.9"
Version: viem@2.0.0-beta.13"
`,
)
})
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@2.0.0-beta.9],
Version: viem@2.0.0-beta.13],
"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 @@ -36,7 +36,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to sign message.
Version: viem@2.0.0-beta.9]
Version: viem@2.0.0-beta.13]
`)
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 @@ -46,7 +46,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to sign typed data.
Version: viem@2.0.0-beta.9]
Version: viem@2.0.0-beta.13]
`)
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 @@ -43,7 +43,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to switch chain.
Version: viem@2.0.0-beta.9]
Version: viem@2.0.0-beta.13]
`)
await disconnect(config, { connector: connector_ })
})
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/exports/actions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ test('exports', () => {
"getToken",
"fetchToken",
"getTransaction",
"getTransactionCount",
"fetchTransaction",
"getTransactionCount",
"getWalletClient",
"multicall",
"readContract",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/exports/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ test('exports', () => {
"getToken",
"fetchToken",
"getTransaction",
"getTransactionCount",
"fetchTransaction",
"getTransactionCount",
"getWalletClient",
"multicall",
"readContract",
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/exports/actions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ test('exports', () => {
"fetchToken",
"getTransaction",
"fetchTransaction",
"getTransactionCount",
"getWalletClient",
"multicall",
"readContract",
Expand Down

0 comments on commit d84e11a

Please sign in to comment.