Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marshacb committed Nov 11, 2023
1 parent 95b0039 commit dccd13b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/createXcmTypes/util/getXcAssetMultiLocationByAssetId.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ describe('getXcAssetMultiLocationByAssetId', () => {

const expected =
'{"v1":{"parents":1,"interior":{"x3":[{"parachain":1000},{"palletInstance":50},{"generalIndex":1984}]}}}';
const result = await getXcAssetMultiLocationByAssetId(bifrostApi._api, assetId, specName, xcmVersion, bifrostRegistry);
const result = await getXcAssetMultiLocationByAssetId(
bifrostApi._api,
assetId,
specName,
xcmVersion,
bifrostRegistry
);

expect(result).toStrictEqual(expected);
});
Expand All @@ -69,7 +75,13 @@ describe('getXcAssetMultiLocationByAssetId', () => {
const specName = 'moonriver';

const expected = '{"v1":{"parents":1,"interior":{"x2":[{"parachain":2001},{"generalKey":"0x010a"}]}}}';
const result = await getXcAssetMultiLocationByAssetId(moonriverApi._api, assetId, specName, xcmVersion, moonriverRegistry);
const result = await getXcAssetMultiLocationByAssetId(
moonriverApi._api,
assetId,
specName,
xcmVersion,
moonriverRegistry
);

expect(result).toStrictEqual(expected);
});
Expand Down

0 comments on commit dccd13b

Please sign in to comment.