Skip to content

Commit

Permalink
Fix permissionEnabled flag missed in workspace plugin setup test
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <wonglam@amazon.com>
  • Loading branch information
wanglam committed Mar 5, 2024
1 parent e09342a commit 786de38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/workspace/server/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ describe('Workspace server plugin', () => {
const initializerContextConfigMock = coreMock.createPluginInitializerContext({
workspace: {
enabled: true,
permission: {
enabled: true,
},
},
});
setupMock.capabilities.registerProvider.mockImplementationOnce((fn) => (value = fn()));
Expand All @@ -22,6 +25,7 @@ describe('Workspace server plugin', () => {
Object {
"workspaces": Object {
"enabled": true,
"permissionEnabled": true,
},
}
`);
Expand Down

0 comments on commit 786de38

Please sign in to comment.