blob: 047cdaa04d38db78a54d8f7f4dfd4327bb99815e (
plain)
1
2
3
4
5
6
7
|
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');
});
|