Use u8a.toString as u8aToString (#93)
* Use u8a.toString as u8aToString * Fix lint
This commit is contained in:
@@ -20,8 +20,8 @@ describe('u8aToString', () => {
|
||||
it('decodes the buffer correctly', () => {
|
||||
expect(
|
||||
u8aToString(
|
||||
new Uint8Array([0x68, 0x65, 0x6c, 0x6c, 0x6f])
|
||||
new Uint8Array([21, 23, 45, 67])
|
||||
)
|
||||
).toEqual('hello');
|
||||
).toEqual('21,23,45,67');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user