Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/Starkdefi/core-sdk into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
iddriss committed Aug 16, 2024
2 parents 063eeba + 8b6c3d2 commit d5c4c6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/entities/ether.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ describe('Ether', () => {
it('static constructor uses cache', () => {
const etherMain = Ether.onChain(constants.StarknetChainId.SN_MAIN);
expect(
Number.isNaN(etherMain) ? false : etherMain === Ether.onChain(constants.StarknetChainId.SN_MAIN)
Number.isNaN(etherMain)
? false
: etherMain === Ether.onChain(constants.StarknetChainId.SN_MAIN)
).toEqual(true);
});
it('caches once per chain ID', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/entities/weth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ export const ETH: { [chainId: string]: Token } = {
18,
'ETH',
'Ether'
)
),
};

0 comments on commit d5c4c6d

Please sign in to comment.