mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2026-10-07 12:49:14 +00:00
feat: remove toBuffer from number
This commit is contained in:
1 parent
0efc46b014
commit
4496cbf560
3 files changed
+12
-12
No files matched your search
@@ -29,7 +29,6 @@ describe('BigNumber', () => {
|
||||
}));
|
||||
it('toString with radix 10', () => assert.equal(instance.toString(), '11'));
|
||||
it('toString with radix 16', () => assert.equal(instance.toString(16), '0b'));
|
||||
it('toBuffer', () => assert.equal(instance.toBuffer().toString('hex'), '0b'));
|
||||
it('toBEBuffer without length', () => assert.equal(instance.toBEBuffer().toString('hex'), '0b'));
|
||||
it('toBEBuffer with length', () => assert.equal(instance.toBEBuffer(4).toString('hex'), '0000000b'));
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user