Skip to content

Commit

Permalink
fix SystemToSystem tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Oct 20, 2023
1 parent 8f4acd2 commit 355ca39
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/createXcmTypes/SystemToSystem.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ describe('SystemToSystem XcmVersioned Generation', () => {
);

const expectedRes = {
v2: {
V2: {
parents: 0,
interior: {
X1: {
accountId32: {
AccountId32: {
id: '0xf5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b',
network: {
any: null,
},
network: 'Any',
},
},
},
Expand All @@ -39,13 +37,12 @@ describe('SystemToSystem XcmVersioned Generation', () => {
);

const expectedRes = {
v3: {
V3: {
parents: 0,
interior: {
X1: {
accountId32: {
AccountId32: {
id: '0xf5d5714c084c112843aca74f8c498da06cc5a2d63153b825189baa51043b1f0b',
network: null,
},
},
},
Expand All @@ -60,11 +57,11 @@ describe('SystemToSystem XcmVersioned Generation', () => {
const destination = SystemToSystem.createDest('1000', 2);

const expectedRes = {
v2: {
V2: {
parents: 1,
interior: {
X1: {
Parachain: 1000,
Parachain: '1000',
},
},
},
Expand All @@ -76,11 +73,11 @@ describe('SystemToSystem XcmVersioned Generation', () => {
const destination = SystemToSystem.createDest('1002', 3);

const expectedRes = {
v3: {
V3: {
parents: 1,
interior: {
X1: {
Parachain: 1002,
Parachain: '1002',
},
},
},
Expand Down

0 comments on commit 355ca39

Please sign in to comment.