Skip to content

Commit c901420

Browse files
committed
chore(workspaces): drop redundant test comments already implied by adjacent assertions
1 parent dec56c0 commit c901420

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

apps/sim/lib/workspaces/create.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ describe('createWorkspaceRecord', () => {
6060
expect(record.name).toBe('My Workspace')
6161
expect(record.ownerId).toBe('user-1')
6262
expect(record.workspaceMode).toBe('personal')
63-
// workspace insert, permission insert, workflow insert (default workflow not skipped)
6463
expect(tx.insert).toHaveBeenCalledTimes(3)
6564
expect(mockSaveWorkflowToNormalizedTables).toHaveBeenCalledTimes(1)
6665
})
@@ -94,7 +93,6 @@ describe('createWorkspaceRecord', () => {
9493
executor: tx as never,
9594
})
9695

97-
// workspace insert, permission insert — no workflow insert
9896
expect(tx.insert).toHaveBeenCalledTimes(2)
9997
expect(mockSaveWorkflowToNormalizedTables).not.toHaveBeenCalled()
10098
})

0 commit comments

Comments
 (0)