Skip to content

Commit

Permalink
clean old mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbuks committed Nov 5, 2024
1 parent 356ebbd commit 57eb410
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
11 changes: 5 additions & 6 deletions webapp/channels/src/actions/new_post.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,17 @@ describe('actions/new_post', () => {
preferences: {
myPreferences: {},
},
ksuiteBridge: {
bridge: {
isConnected: false,
},
},
},
views: {
posts: {
editingPost: {},
},
},
ksuite_bridge: {
bridge: {
sendMessage: jest.fn(),
on: jest.fn(),
},
},
} as unknown as GlobalState;

test('completePostReceive', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ describe('Actions.Preferences', () => {
},
},
ksuiteBridge: {
ksuiteBridge: {
bridge: {
isConnected: false,
},
bridge: {
isConnected: false,
},
},
},
Expand Down

0 comments on commit 57eb410

Please sign in to comment.