Skip to content

Commit

Permalink
remove console.log from test file
Browse files Browse the repository at this point in the history
  • Loading branch information
rinrub authored and AG-83 committed Feb 27, 2024
1 parent fcd6608 commit d073a3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/reducers/__tests__/repeatableBoolean-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ describe('Given a questionnaire with multiple repeatable booleans', () => {

it('Then repeated item should have an answer with 3 items', () => {
const repeatedResponseItem = getResponseItem('1.0.4', newState, pathify('1', '1.0^1', '1.0.4')) as QuestionnaireResponseItem;
console.log('newState', JSON.stringify(newState, null, 2));

console.log('repeatedResponseItem', repeatedResponseItem);
if (!repeatedResponseItem) return fail();

if (!repeatedResponseItem.answer) return fail();

expect(repeatedResponseItem.answer.length).toBe(1);

const answer = repeatedResponseItem.answer[0];
console.log('answer', answer);
if (!answer || !answer.item) return fail();

expect(answer.item.length).toBe(3);
Expand Down

0 comments on commit d073a3d

Please sign in to comment.