Skip to content

Commit

Permalink
Fix create fn
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Oct 3, 2024
1 parent ffd5ea6 commit 15a625f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/drift/src/adapter/MockAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ export class MockAdapter implements ReadWriteAdapter {
async getBlock(...args: NetworkGetBlockArgs) {
return this.getMock<NetworkGetBlockArgs, Promise<Block | undefined>>({
method: "getBlock",
create: () =>
sinonStub().resolves({
create: (mock) =>
mock.resolves({
blockNumber: 0n,
timestamp: 0n,
}),
Expand Down

0 comments on commit 15a625f

Please sign in to comment.