+1
-1
@@ -4,7 +4,7 @@ type NoteDataSeed = {
|
||||
id: string;
|
||||
position: number;
|
||||
title: string;
|
||||
bodyV2Blocknote: string
|
||||
bodyV2Blocknote: string;
|
||||
bodyV2Markdown: string;
|
||||
createdBySource: string;
|
||||
createdByWorkspaceMemberId: string;
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ export class WorkspaceFixService {
|
||||
manager: EntityManager,
|
||||
objectMetadataCollection: ObjectMetadataEntity[],
|
||||
type: WorkspaceHealthFixKind,
|
||||
|
||||
|
||||
issues: WorkspaceHealthIssue[],
|
||||
): Promise<CompareEntity<unknown>[]> {
|
||||
switch (type) {
|
||||
|
||||
+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