Fetch boolean data from h5grove as binary #5808
Annotations
3 errors
src/h5wasm-api.test.ts > test file matches snapshot:
packages/h5wasm/src/h5wasm-api.test.ts#L61
Error: Snapshot `test file matches snapshot 1` mismatched
- Expected
+ Received
@@ -1610,10 +1610,15 @@
"class": "Integer",
"endianness": "little-endian",
"size": 64,
},
"bool": {
+ "base": {
+ "class": "Integer",
+ "endianness": "little-endian",
+ "size": 8,
+ },
"class": "Boolean",
},
"cplx": {
"class": "Complex",
"imagType": {
@@ -1807,10 +1812,15 @@
"type": 8,
"vlen": false,
},
"shape": null,
"type": {
+ "base": {
+ "class": "Integer (unsigned)",
+ "endianness": "little-endian",
+ "size": 8,
+ },
"class": "Boolean",
},
"value": null,
},
{
@@ -1831,10 +1841,15 @@
"type": 8,
"vlen": false,
},
"shape": [],
"type": {
+ "base": {
+ "class": "Integer",
+ "endianness": "little-endian",
+ "size": 8,
+ },
"class": "Boolean",
},
"value": 0,
},
{
@@ -1855,10 +1870,15 @@
"type": 8,
"vlen": false,
},
"shape": [],
"type": {
+ "base": {
+ "class": "Integer",
+ "endianness": "little-endian",
+ "size": 8,
+ },
"class": "Boolean",
},
"value": 1,
},
{
@@ -1882,10 +1902,15 @@
"shape": [
2,
4,
],
"type": {
+ "base": {
+ "class": "Integer",
+ "endianness": "little-endian",
+ "size": 8,
+ },
"class": "Boolean",
},
"value": Int8Array [
1,
0,
❯ src/h5wasm-api.test.ts:61:20
|
src/providers/h5grove/h5grove-api.test.ts > test file matches snapshot:
packages/app/src/providers/h5grove/h5grove-api.test.ts#L46
Error: Snapshot `test file matches snapshot 1` mismatched
- Expected
+ Received
@@ -1641,11 +1641,11 @@
"endianness": "little-endian",
"size": 8,
},
"class": "Boolean",
},
- "value": 0,
+ "value": "Request failed with status code 500",
},
{
"name": "bool_true_scalar",
"rawType": {
"base": {
@@ -1670,11 +1670,11 @@
"endianness": "little-endian",
"size": 8,
},
"class": "Boolean",
},
- "value": 1,
+ "value": "Request failed with status code 500",
},
{
"name": "bool_2D",
"rawType": {
"base": {
@@ -1702,20 +1702,11 @@
"endianness": "little-endian",
"size": 8,
},
"class": "Boolean",
},
- "value": Int8Array [
- 1,
- 0,
- 1,
- 1,
- 0,
- 0,
- 1,
- 0,
- ],
+ "value": "Request failed with status code 500",
},
{
"name": "enum_uint8_scalar",
"rawType": {
"base": {
❯ src/providers/h5grove/h5grove-api.test.ts:46:20
|
test
Process completed with exit code 1.
|