mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-07-25 15:36:55 +01:00
Add reason strings to noop actions
Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
@@ -67,7 +67,7 @@ describe('both/state/selectors/conversations-extra', () => {
|
||||
const SERVICE_ID_2 = generateAci();
|
||||
|
||||
const getEmptyRootState = (): StateType => {
|
||||
return rootReducer(undefined, noopAction());
|
||||
return rootReducer(undefined, noopAction('getEmptyRootState'));
|
||||
};
|
||||
|
||||
function makeConversation(id: string): ConversationType {
|
||||
|
||||
@@ -11,7 +11,7 @@ import { getIsCustomizingPreferredReactions } from '../../../state/selectors/pre
|
||||
|
||||
describe('both/state/selectors/preferredReactions', () => {
|
||||
const getEmptyRootState = (): StateType =>
|
||||
rootReducer(undefined, noopAction());
|
||||
rootReducer(undefined, noopAction('getEmptyRootState'));
|
||||
|
||||
const getRootState = (preferredReactions: PreferredReactionsStateType) => ({
|
||||
...getEmptyRootState(),
|
||||
|
||||
@@ -48,7 +48,7 @@ describe('both/state/selectors/search', () => {
|
||||
});
|
||||
|
||||
const getEmptyRootState = (): StateType => {
|
||||
return rootReducer(undefined, noopAction());
|
||||
return rootReducer(undefined, noopAction('getEmptyRootState'));
|
||||
};
|
||||
|
||||
function getDefaultMessage(id: string): MessageType {
|
||||
|
||||
Reference in New Issue
Block a user