TextEncoder allows non-Uint8Array Buffers (#596)
* TextEncoder allows non-Uint8Array Buffers * Add eslintrc to eslintignore
This commit is contained in:
@@ -19,7 +19,7 @@ describe('isUint8Array', (): void => {
|
||||
|
||||
it('returns true on Uint8Array values', (): void => {
|
||||
expect(
|
||||
isU8a(new Uint8Array([]))
|
||||
isU8a(new Uint8Array())
|
||||
).toEqual(true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user