From a6d76e5b8757ae250f00a55fb89c3c4e895086f6 Mon Sep 17 00:00:00 2001 From: Martin Minkov Date: Wed, 16 Aug 2023 17:28:11 -0700 Subject: [PATCH] refactor(utils.test.ts): move utils import path from 'db/archive-node-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 --- tests/utils.test.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/utils.test.ts b/tests/utils.test.ts index 96733a6..4fe3ed3 100644 --- a/tests/utils.test.ts +++ b/tests/utils.test.ts @@ -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', () => {