Skip to content

Commit

Permalink
refactor(utils.test.ts): move utils import path from 'db/archive-node…
Browse files Browse the repository at this point in the history
…-adapter/utils' to 'services/utils/utils' for better project structure

refactor(utils.test.ts): change import path for Action, Event from 'models/types' to 'blockchain/types' to reflect new file organization
  • Loading branch information
MartinMinkov committed Aug 17, 2023
1 parent 05fa04b commit a6d76e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import {
getElementIdFieldValues,
removeRedundantEmittedFields,
mapActionOrEvent,
sortAndFilterBlocks,
} from '../src/db/archive-node-adapter/utils';

import { Action, Event } from '../src/models/types';
} from '../src/services/utils/utils';
import { Action, Event } from '../src/blockchain/types';

describe('utils', () => {
describe('partitionBlocks', () => {
Expand Down

0 comments on commit a6d76e5

Please sign in to comment.