feat: blob type #326
lib-tests.yml
on: pull_request
tests
49s
may-merge
0s
Annotations
5 errors
src/types/blob.spec.ts > IcrcBlob > should fail validation for a non-Uint8Array object:
src/types/blob.spec.ts#L15
AssertionError: expected 'Input not instance of Uint8Array' to be 'Expected Uint8Array, received array' // Object.is equality
- Expected
+ Received
- Expected Uint8Array, received array
+ Input not instance of Uint8Array
❯ src/types/blob.spec.ts:15:46
|
src/types/blob.spec.ts > IcrcBlob > should fail validation for a string:
src/types/blob.spec.ts#L24
AssertionError: expected 'Input not instance of Uint8Array' to be 'Expected Uint8Array, received string' // Object.is equality
- Expected
+ Received
- Expected Uint8Array, received string
+ Input not instance of Uint8Array
❯ src/types/blob.spec.ts:24:46
|
src/types/blob.spec.ts > IcrcBlob > should fail validation for a number:
src/types/blob.spec.ts#L33
AssertionError: expected 'Input not instance of Uint8Array' to be 'Expected Uint8Array, received number' // Object.is equality
- Expected
+ Received
- Expected Uint8Array, received number
+ Input not instance of Uint8Array
❯ src/types/blob.spec.ts:33:46
|
src/types/blob.spec.ts > IcrcBlob > should fail validation for an object:
src/types/blob.spec.ts#L42
AssertionError: expected 'Input not instance of Uint8Array' to be 'Expected Uint8Array, received object' // Object.is equality
- Expected
+ Received
- Expected Uint8Array, received object
+ Input not instance of Uint8Array
❯ src/types/blob.spec.ts:42:46
|
tests
Process completed with exit code 1.
|