mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* 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
11 lines
315 B
TypeScript
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);
|
|
});
|