Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
coordinates: [
[
vertices[2],
vertices[3],
vertices[4],
vertices[5],
vertices[0],
vertices[1],
vertices[2]
]
]
}
};
const resolution = 10;
const expected = h3.uncompact([parentHex], resolution).sort();
assert.equal(expected.length, 7, 'Got expected child hexagons');
assert.deepEqual(
featureToH3Set(feature, resolution).sort(),
expected,
'featureToH3Set matches expected'
);
assert.end();
});