Add reason strings to noop actions

Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-04-08 13:15:05 -05:00
committed by GitHub
parent 87c215554d
commit 74f5be9239
24 changed files with 85 additions and 258 deletions
@@ -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 {