From a618015b25cc5ae3d166778010bc051e6dcac3cb Mon Sep 17 00:00:00 2001 From: Ryan Huellen Date: Sat, 23 Nov 2024 20:11:25 -0600 Subject: [PATCH] refactor: `serializeResourceLinkage` --- .../{utils => }/serializeResourceLinkage.test.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename __tests__/serializers/{utils => }/serializeResourceLinkage.test.ts (90%) diff --git a/__tests__/serializers/utils/serializeResourceLinkage.test.ts b/__tests__/serializers/serializeResourceLinkage.test.ts similarity index 90% rename from __tests__/serializers/utils/serializeResourceLinkage.test.ts rename to __tests__/serializers/serializeResourceLinkage.test.ts index ec9efe2..e0c95bd 100644 --- a/__tests__/serializers/utils/serializeResourceLinkage.test.ts +++ b/__tests__/serializers/serializeResourceLinkage.test.ts @@ -1,14 +1,14 @@ import { Chance } from 'chance'; -import { idSymbol } from '../../../src'; -import { resourceSymbol } from '../../../src/decorators/resource'; -import { serializeResourceLinkage } from '../../../src/serializers/serializeResourceLinkage'; -import { collect } from '../../../src/serializers/utils/collect'; -import { getMetadataBySymbol } from '../../../src/serializers/utils/getMetadataBySymbol'; +import { idSymbol } from '../../src'; +import { resourceSymbol } from '../../src/decorators/resource'; +import { serializeResourceLinkage } from '../../src/serializers/serializeResourceLinkage'; +import { collect } from '../../src/serializers/utils/collect'; +import { getMetadataBySymbol } from '../../src/serializers/utils/getMetadataBySymbol'; -jest.mock('../../../src/serializers/utils/getMetadataBySymbol'); +jest.mock('../../src/serializers/utils/getMetadataBySymbol'); const getMetadataBySymbolMocked = jest.mocked(getMetadataBySymbol); -jest.mock('../../../src/serializers/utils/collect'); +jest.mock('../../src/serializers/utils/collect'); const collectMocked = jest.mocked(collect); describe('`serializeResourceLinkage`', () => {