Skip to content

Commit

Permalink
Fixup tests and jsdoc after upstream merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Nov 20, 2023
1 parent 3cd3268 commit 85c9f91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/soroban.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/**
* @class Soroban
* Soroban helper class to assist with formatting and parsing token amounts.
*/
/** Soroban helper class to assist with formatting and parsing token amounts. */

Check warning on line 1 in src/soroban.js

View workflow job for this annotation

GitHub Actions / build

JSDoc syntax error

Check warning on line 1 in src/soroban.js

View workflow job for this annotation

GitHub Actions / build

JSDoc syntax error
export class Soroban {
/**
* Given a whole number smart contract amount of a token and an amount of
Expand Down
4 changes: 2 additions & 2 deletions test/unit/soroban_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ describe('Soroban', function () {
{
amount: '1000000001.1',
decimals: 7,
expected: /No decimal is allowed/
expected: /No decimals are allowed/
},
{
amount: '10000.00001.1',
decimals: 4,
expected: /No decimal is allowed/
expected: /No decimals are allowed/
}
];

Expand Down

0 comments on commit 85c9f91

Please sign in to comment.