f95e9a7d37
- This will need to be separated and configured accordingly - This was a quick spin up, using jest as a library to implement some coverage - Further things to be refined - mocks, more coverage, better configuration, clean up methods, improve env vars
11 lines
333 B
TypeScript
11 lines
333 B
TypeScript
const currency = require('../../src/currency');
|
|
|
|
describe("provide unit tests around the the currency module", () => {
|
|
test.skip("convert to native balance", () => {
|
|
const decimal = "12.0346";
|
|
const value = currency.printableBalanceToNative(decimal);
|
|
expect(value).toStrictEqual("12034600");
|
|
});
|
|
});
|
|
|