Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Apr 23, 2024
1 parent 766143a commit fffd0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/workspace/public/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe('workspace utils: isAppAccessibleInWorkspace', () => {
mount: jest.fn(),
workspaceAvailability: WorkspaceAvailability.insideWorkspace,
},
{ id: 'workspace_id', name: 'workspace name', features: [] }
{ id: 'workspace_id', name: 'workspace name', features: ['home'] }
)
).toBe(true);
});
Expand All @@ -191,7 +191,7 @@ describe('workspace utils: isAppAccessibleInWorkspace', () => {
// eslint-disable-next-line no-bitwise
WorkspaceAvailability.insideWorkspace | WorkspaceAvailability.outsideWorkspace,
},
{ id: 'workspace_id', name: 'workspace name', features: [] }
{ id: 'workspace_id', name: 'workspace name', features: ['home'] }
)
).toBe(true);
});
Expand Down

0 comments on commit fffd0ee

Please sign in to comment.