import { expect, test } from 'vitest' import { parseEther } from '../../utils/unit/parseEther.js' import { sendTransaction } from '../wallet/sendTransaction.js' import { accounts } from '~test/src/constants.js' import { testClient, walletClient } from '~test/src/utils.js' import { snapshot } from './snapshot.js' const sourceAccount = accounts[0] const targetAccount = accounts[1] test('snapshots', async () => { await sendTransaction(walletClient, { account: sourceAccount.address, to: targetAccount.address, value: parseEther('1'), }) expect(await snapshot(testClient)).toBeDefined() })