Fix type in compose.test.ts

This commit is contained in:
Alex Gleason 2023-10-12 20:09:58 -05:00
parent a98dfd8c11
commit 626b377371
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -167,7 +167,7 @@ describe('compose reducer', () => {
type: ME_FETCH_SUCCESS,
me: { pleroma: { settings_store: { soapbox_fe: { defaultPrivacy: 'unlisted' } } } },
};
expect(reducer(state, action).toJS().default).toMatchObject({
expect(reducer(state, action as any).toJS().default).toMatchObject({
privacy: 'unlisted',
});
});