blob: 2627f1073ecf284a8ba097d4e7a7400535405518 (
plain)
1
2
3
4
5
6
7
8
9
|
import { convertAAGUIDToString } from "./convertAAGUIDToString.ts";
test("should convert buffer to UUID string", () => {
const uuid = convertAAGUIDToString(
Buffer.from("adce000235bcc60a648b0b25f1f05503", "hex"),
);
expect(uuid).toEqual("adce0002-35bc-c60a-648b-0b25f1f05503");
});
|