Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nohaapav committed Sep 23, 2023
1 parent 53c6aa0 commit c3d7fcf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/sdk/test/api/router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ describe('Router with mocked XYK pool service', () => {
expect(router).toBeDefined();
const result = await router.getAllAssets();
expect(result).toStrictEqual([
{ icon: 'BSX', id: '0', symbol: 'BSX' },
{ icon: 'AUSD', id: '2', symbol: 'AUSD' },
{ icon: 'KSM', id: '1', symbol: 'KSM' },
{ icon: 'BSX', id: '0', symbol: 'BSX', meta: undefined },
{ icon: 'AUSD', id: '2', symbol: 'AUSD', meta: undefined },
{ icon: 'KSM', id: '1', symbol: 'KSM', meta: undefined },
]);
});

Expand All @@ -60,8 +60,8 @@ describe('Router with mocked XYK pool service', () => {
expect(router).toBeDefined();
const result = await router.getAssetPairs('1');
expect(result).toStrictEqual([
{ icon: 'AUSD', id: '2', symbol: 'AUSD' },
{ icon: 'BSX', id: '0', symbol: 'BSX' },
{ icon: 'AUSD', id: '2', symbol: 'AUSD', meta: undefined },
{ icon: 'BSX', id: '0', symbol: 'BSX', meta: undefined },
]);
});

Expand Down

0 comments on commit c3d7fcf

Please sign in to comment.