()
| 68 | }) |
| 69 | |
| 70 | const createV3ArrayMetadata = () => ({ |
| 71 | attributes: { |
| 72 | _ARRAY_DIMENSIONS: ['time', 'y', 'x'], |
| 73 | }, |
| 74 | shape: [2, 256, 256], |
| 75 | chunk_grid: { |
| 76 | configuration: { |
| 77 | chunk_shape: [1, 256, 256], |
| 78 | }, |
| 79 | }, |
| 80 | codecs: [{ name: 'gzip' }], |
| 81 | fill_value: 0, |
| 82 | data_type: '<f4', |
| 83 | }) |
| 84 | |
| 85 | const registerChunk = (url, values) => { |
| 86 | const handler = jest.fn((chunkIndices, callback) => { |