Skip to content

Commit

Permalink
tests: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Feb 7, 2023
1 parent 8ddc4ac commit 9b02d89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/actions/public/multicall.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import { describe, expect, test } from 'vitest'
import {
accounts,
initialBlockNumber,
publicClient,
usdcContractConfig,
vitalikAddress,
Expand All @@ -20,6 +21,7 @@ import { multicall } from './multicall'
test('default', async () => {
expect(
await multicall(publicClient, {
blockNumber: initialBlockNumber,
contracts: [
{
...usdcContractConfig,
Expand Down Expand Up @@ -60,6 +62,7 @@ describe('errors', async () => {
test('function not found', async () => {
expect(
await multicall(publicClient, {
blockNumber: initialBlockNumber,
contracts: [
{
...usdcContractConfig,
Expand Down Expand Up @@ -110,6 +113,7 @@ describe('errors', async () => {
test('invalid params', async () => {
expect(
await multicall(publicClient, {
blockNumber: initialBlockNumber,
// @ts-expect-error
contracts: [
{
Expand Down Expand Up @@ -163,6 +167,7 @@ describe('errors', async () => {
test('invalid contract address', async () => {
expect(
await multicall(publicClient, {
blockNumber: initialBlockNumber,
contracts: [
{
...usdcContractConfig,
Expand Down Expand Up @@ -216,6 +221,7 @@ describe('errors', async () => {
test('contract revert', async () => {
expect(
await multicall(publicClient, {
blockNumber: initialBlockNumber,
contracts: [
{
...usdcContractConfig,
Expand Down

0 comments on commit 9b02d89

Please sign in to comment.