Files
tom goriunovandGitHub 5d337fc555 Migrate from Jest to Vitest (#3173)
* first part of transition

* second part of transition

* remove jest

* bump up node version and playwright version

* update all screenshots because of the new playwright version

* fix tests

* one more screenshot update
2025-12-10 19:21:07 +01:00

11 lines
315 B
TypeScript

import * as transactionMock from 'mocks/noves/transaction';
import { it, expect } from 'vitest';
import { getTokensData } from './getTokensData';
it('creates a tokens data object', async() => {
const result = getTokensData(transactionMock.transaction);
expect(result).toEqual(transactionMock.tokenData);
});