summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/helpers/convertAAGUIDToString.test.ts
blob: acef3b97336c3fbc3078bcea38c97a0eca2e85c2 (plain)
1
2
3
4
5
6
7
import convertAAGUIDToString from './convertAAGUIDToString';

test('should convert buffer to UUID string', () => {
  const uuid = convertAAGUIDToString(Buffer.from('adce000235bcc60a648b0b25f1f05503', 'hex'));

  expect(uuid).toEqual('adce0002-35bc-c60a-648b-0b25f1f05503');
});