MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / makeAction

Function makeAction

client/src/redux/remove-module-challenges.test.js:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { actionTypes } from './action-types';
5
6const makeAction = removedChallengeIds => ({
7 type: actionTypes.removeModuleChallenges,
8 payload: { removedChallengeIds }
9});
10
11const baseSessionUser = {
12 username: 'testuser',

Calls

no outgoing calls

Tested by

no test coverage detected