TextEncoder allows non-Uint8Array Buffers (#596)
* TextEncoder allows non-Uint8Array Buffers * Add eslintrc to eslintignore
This commit is contained in:
@@ -13,7 +13,7 @@ describe('u8aToString', (): void => {
|
||||
|
||||
it('decodes to an empty string for empty buffer', (): void => {
|
||||
expect(
|
||||
u8aToString(new Uint8Array([]))
|
||||
u8aToString(new Uint8Array())
|
||||
).toEqual('');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user