Skip to content

Commit

Permalink
fix: increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Jan 16, 2024
1 parent 68b1bfc commit 17f62f1
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions src/govv3/generatePayloadReport.spec.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import { MOCK_PAYLOAD } from './mocks/payload';
import { describe, it, expect } from 'vitest';
import { CHAIN_ID_CLIENT_MAP, ChainId, mainnetClient } from '@bgd-labs/js-utils';
import { GovernanceV3Ethereum } from '@bgd-labs/aave-address-book';
import { CHAIN_ID_CLIENT_MAP } from '@bgd-labs/js-utils';
import { generateReport } from './generatePayloadReport.js';

describe('generatePayloadReport', () => {
it('should match snapshot', async () => {
const report = await generateReport({
...(MOCK_PAYLOAD as any),
publicClient: CHAIN_ID_CLIENT_MAP[MOCK_PAYLOAD.simulation.transaction.network_id],
});
expect(report).toMatchSnapshot();
});
it(
'should match snapshot',
async () => {
const report = await generateReport({
...(MOCK_PAYLOAD as any),
publicClient: CHAIN_ID_CLIENT_MAP[MOCK_PAYLOAD.simulation.transaction.network_id],
});
expect(report).toMatchSnapshot();
},
{ timeout: 30000 }
);
});

0 comments on commit 17f62f1

Please sign in to comment.