Skip to content

Commit

Permalink
refactor: serializeResourceLinkage
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhaticus committed Nov 24, 2024
1 parent 23e3bbd commit a618015
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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`', () => {
Expand Down

0 comments on commit a618015

Please sign in to comment.