Skip to content

Commit

Permalink
tests: reenable filter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jan 29, 2023
1 parent 07bb88e commit 957922d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/actions/public/getFilterChanges.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ test('new blocks', async () => {
})

describe('events', () => {
// TODO: enable when https://github.com/foundry-rs/foundry/issues/4205 is fixed.
test.skip('no args', async () => {
test('no args', async () => {
const filter = await createEventFilter(publicClient)

await sendTransaction(walletClient, {
Expand Down Expand Up @@ -134,8 +133,7 @@ describe('events', () => {
expect(logs.length).toBe(1)
})

// TODO: enable when https://github.com/foundry-rs/foundry/issues/4205 is fixed.
test.skip('args: event', async () => {
test('args: event', async () => {
const filter = await createEventFilter(publicClient, {
event: 'Transfer(address from, address to, uint256 value)',
})
Expand Down
6 changes: 2 additions & 4 deletions src/actions/public/getFilterLogs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ test('default', async () => {
})

describe('events', () => {
// TODO: enable when https://github.com/foundry-rs/foundry/issues/4205 is fixed.
test.skip('no args', async () => {
test('no args', async () => {
const filter = await createEventFilter(publicClient)

await sendTransaction(walletClient, {
Expand All @@ -66,8 +65,7 @@ describe('events', () => {
expect(logs.length).toBe(2)
})

// TODO: enable when https://github.com/foundry-rs/foundry/issues/4205 is fixed.
test.skip('args: event', async () => {
test('args: event', async () => {
const filter = await createEventFilter(publicClient, {
event: 'Transfer(address from, address to, uint256 value)',
})
Expand Down

3 comments on commit 957922d

@vercel
Copy link

@vercel vercel bot commented on 957922d Jan 29, 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:

viem-benchmark – ./playgrounds/benchmark

viem-benchmark-git-main-wagmi-dev.vercel.app
viem-benchmark-wagmi-dev.vercel.app
viem-benchmark.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 957922d Jan 29, 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:

viem-playground – ./playgrounds/dev

viem-playground-git-main-wagmi-dev.vercel.app
viem-playground.vercel.app
viem-playground-wagmi-dev.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 957922d Jan 29, 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:

viem-site – ./site

viem-site-git-main-wagmi-dev.vercel.app
viem-site-wagmi-dev.vercel.app
viem-site.vercel.app

Please sign in to comment.