Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Jan 16, 2024
1 parent 4d83a6f commit f7a4f00
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions packages/e2e/src/build-block.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,18 @@ describe.runIf(process.env.CI).each([
await teardownAll()
})

it('build blocks', async () => {
const { chain, ws, teardown } = await setup()
storage && (await ws.send('dev_setStorage', [storage]))
const blockNumber = chain.head.number
await ws.send('dev_newBlock', [{ count: 2 }])
expect(chain.head.number).eq(blockNumber + 2)
await teardown()
}, { timeout: 300_000, retry: 1 })
it(
'build blocks',
async () => {
const { chain, ws, teardown } = await setup()
storage && (await ws.send('dev_setStorage', [storage]))
const blockNumber = chain.head.number
await ws.send('dev_newBlock', [{ count: 2 }])
expect(chain.head.number).eq(blockNumber + 2)
await teardown()
},
{ timeout: 300_000, retry: 1 },
)

it('build block using unsafeBlockHeight', async () => {
const { chain, ws, teardown } = await setup()
Expand Down

0 comments on commit f7a4f00

Please sign in to comment.