+4
-1
@@ -40,7 +40,10 @@ describe('transformMetadataForComparison', () => {
|
||||
});
|
||||
|
||||
expect(result).toHaveProperty('key-123');
|
||||
expect((result as Record<string, any>)['key-123']).toEqual({ id: 123, name: 'Test' });
|
||||
expect((result as Record<string, any>)['key-123']).toEqual({
|
||||
id: 123,
|
||||
name: 'Test',
|
||||
});
|
||||
});
|
||||
|
||||
// Test with an empty array
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
import { createHash } from 'crypto';
|
||||
|
||||
|
||||
export function createDeterministicUuid(
|
||||
uuidOrUuids: string[] | string,
|
||||
): string {
|
||||
|
||||
Reference in New Issue
Block a user