mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-05-14 21:36:01 +02:00
add admin tool to purge all records for a provided node id
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const NodeIdUtil = require("./node_id_util");
|
||||
|
||||
test('can convert hex id to numeric id', () => {
|
||||
expect(NodeIdUtil.convertToNumeric("!FFFFFFFF")).toBe(BigInt(4294967295));
|
||||
});
|
||||
|
||||
test('can convert numeric id to numeric id', () => {
|
||||
expect(NodeIdUtil.convertToNumeric(4294967295)).toBe(BigInt(4294967295));
|
||||
});
|
||||
Reference in New Issue
Block a user