Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into feat/bn-service
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyaco committed Jul 26, 2024
2 parents 60a57e1 + faffdfd commit 841dc96
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/blocknumber/test/services/blockNumberService.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { createPublicClient, createTestClient, fallback, http } from "viem";
import { createPublicClient, fallback, http } from "viem";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";

import { EmptyRpcUrls, NoProvider, UnsupportedChain } from "../../src/exceptions/index.js";
import {
ChainWithoutProvider,
EmptyRpcUrls,
UnsupportedChain,
} from "../../src/exceptions/index.js";
import { EvmBlockNumberProvider } from "../../src/providers/evmBlockNumberProvider.js";
import { BlockNumberService } from "../../src/services/index.js";
import { Caip2ChainId } from "../../src/types.js";
Expand Down Expand Up @@ -116,7 +120,7 @@ describe("BlockNumberService", () => {
const epochChains = [caip2Chains.mainnet, caip2Chains.arbitrum];

expect(service.getEpochBlockNumbers(timestamp, epochChains)).rejects.toThrow(
NoProvider,
ChainWithoutProvider,
);
});

Expand Down

0 comments on commit 841dc96

Please sign in to comment.