(state: QuestionBodyState, tab: number, list: string[])
| 137 | } |
| 138 | |
| 139 | function storeAnswers(state: QuestionBodyState, tab: number, list: string[]): QuestionBodyState { |
| 140 | const answers = [...state.answers] |
| 141 | answers[tab] = list |
| 142 | return { |
| 143 | ...state, |
| 144 | answers, |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | export function questionStoreCustom(state: QuestionBodyState, tab: number, text: string): QuestionBodyState { |
| 149 | const custom = [...state.custom] |
no outgoing calls
no test coverage detected