Skip to content

Commit 74d0949

Browse files
committed
Run prettier
1 parent c4ab5ef commit 74d0949

6 files changed

+55
-34
lines changed

apps/smart-forms-app/src/test/aboriginalFormCompletedFor0To1Years.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ test('Completed questionnaire for 0 years', async () => {
245245
'Who lives in your household? / Who does the child live with?',
246246
'Social history'
247247
);
248-
const stressfulLifeEvents = await findByLinkIdOrLabel(container,'Stressful life events')
248+
const stressfulLifeEvents = await findByLinkIdOrLabel(container, 'Stressful life events');
249249
await checkRadioOption(
250250
stressfulLifeEvents,
251251
'Have there been any stressful life events that would cause you or your child to be upset?',
252252
'Yes'
253253
);
254-
await inputText(stressfulLifeEvents, 'Details', 'School stress');
254+
await inputText(stressfulLifeEvents, 'Details', 'School stress');
255255
await inputText(
256256
container,
257257
'Health priorities, actions and follow-up',
@@ -421,7 +421,7 @@ test('Completed questionnaire for 0 years', async () => {
421421

422422
//Eye health
423423
await selectTab(container, 'Eye health');
424-
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns')
424+
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns');
425425
await checkRadioOption(
426426
visionConcernsContainer,
427427
"Is there anything that you are worried about with your child's vision?",
@@ -501,7 +501,7 @@ test('Completed questionnaire for 0 years', async () => {
501501

502502
//Oral and dental health
503503
await selectTab(container, 'Oral and dental health');
504-
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns')
504+
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns');
505505
await checkRadioOption(
506506
dentalConcernsContainer,
507507
"Is there anything that you are worried about with your child's teeth or mouth?",
@@ -523,7 +523,7 @@ test('Completed questionnaire for 0 years', async () => {
523523

524524
//Skin
525525
await selectTab(container, 'Skin');
526-
const skinProblemsContainer = await findByLinkIdOrLabel(container,'Skin problems')
526+
const skinProblemsContainer = await findByLinkIdOrLabel(container, 'Skin problems');
527527
await checkRadioOption(skinProblemsContainer, 'Does your child have any skin problems?', 'Yes');
528528
await inputText(skinProblemsContainer, 'Details', 'Skin problems');
529529
await inputText(

apps/smart-forms-app/src/test/aboriginalFormCompletedFor12To6Years.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ test('Completed questionnaire for 12 years', async () => {
240240
'Who lives in your household? / Who does the child live with?',
241241
'Social history'
242242
);
243-
const stressfulLifeEvents = await findByLinkIdOrLabel(container,'Stressful life events')
243+
const stressfulLifeEvents = await findByLinkIdOrLabel(container, 'Stressful life events');
244244
await checkRadioOption(
245245
stressfulLifeEvents,
246246
'Have there been any stressful life events that would cause you or your child to be upset?',
@@ -366,7 +366,7 @@ test('Completed questionnaire for 12 years', async () => {
366366

367367
//Eye health
368368
await selectTab(container, 'Eye health');
369-
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns')
369+
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns');
370370
await checkRadioOption(
371371
visionConcernsContainer,
372372
"Is there anything that you are worried about with your child's vision?",
@@ -449,7 +449,7 @@ test('Completed questionnaire for 12 years', async () => {
449449

450450
//Oral and dental health
451451
await selectTab(container, 'Oral and dental health');
452-
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns')
452+
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns');
453453
await checkRadioOption(
454454
dentalConcernsContainer,
455455
"Is there anything that you are worried about with your child's teeth or mouth?",
@@ -471,7 +471,7 @@ test('Completed questionnaire for 12 years', async () => {
471471

472472
//Skin
473473
await selectTab(container, 'Skin');
474-
const skinProblemsContainer = await findByLinkIdOrLabel(container,'Skin problems')
474+
const skinProblemsContainer = await findByLinkIdOrLabel(container, 'Skin problems');
475475
await checkRadioOption(skinProblemsContainer, 'Does your child have any skin problems?', 'Yes');
476476
await inputText(skinProblemsContainer, 'Details', 'Skin problems');
477477
await inputText(

apps/smart-forms-app/src/test/aboriginalFormCompletedFor24To13Years.test.tsx

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ test('Completed questionnaire for 13 years', async () => {
241241

242242
//Social and emotional wellbeing
243243
await selectTab(container, 'Social and emotional wellbeing');
244-
const stressfulLifeEvents = await findByLinkIdOrLabel(container,'Stressful life events')
244+
const stressfulLifeEvents = await findByLinkIdOrLabel(container, 'Stressful life events');
245245
await checkRadioOption(
246246
stressfulLifeEvents,
247247
'Have there been any particular stressful life events that are impacting on you/your health lately?',
@@ -350,7 +350,11 @@ test('Completed questionnaire for 13 years', async () => {
350350
'Do you have any worries about physical activity or screen time?',
351351
'Yes'
352352
);
353-
await inputText(physicalActivityConcernsContainer, 'Details', 'Physical activity or screen time concerns');
353+
await inputText(
354+
physicalActivityConcernsContainer,
355+
'Details',
356+
'Physical activity or screen time concerns'
357+
);
354358
await inputText(
355359
container,
356360
'Document conversation about age-appropriate recommendations re physical activity and screen time',
@@ -404,7 +408,10 @@ test('Completed questionnaire for 13 years', async () => {
404408
container,
405409
'Sexual health (sexual activity, contraception, safe sex/protection, sexual orientation, gender identity, pressure to have sex, STIs)'
406410
);
407-
const sexualHealthContainer = await findByLinkIdOrLabel(container, 'Puberty and sexual health concerns');
411+
const sexualHealthContainer = await findByLinkIdOrLabel(
412+
container,
413+
'Puberty and sexual health concerns'
414+
);
408415
await checkRadioOption(
409416
sexualHealthContainer,
410417
'Is there anything that you are worried about in relation to puberty/your sexual health?',
@@ -424,14 +431,14 @@ test('Completed questionnaire for 13 years', async () => {
424431

425432
//Eye health
426433
await selectTab(container, 'Eye health');
427-
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns')
434+
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns');
428435
await checkRadioOption(
429436
visionConcernsContainer,
430437
'Is there anything that you are worried about with your vision?',
431438
'Yes'
432439
);
433440
await inputText(visionConcernsContainer, 'Details', 'Eye health concerns');
434-
const visualAcuityContainer = await findByLinkIdOrLabel(container, 'Visual acuity')
441+
const visualAcuityContainer = await findByLinkIdOrLabel(container, 'Visual acuity');
435442
await inputText(visualAcuityContainer, 'Left eye', 'Left eye');
436443
await inputText(visualAcuityContainer, 'Right eye', 'Right eye');
437444
await inputText(
@@ -442,7 +449,7 @@ test('Completed questionnaire for 13 years', async () => {
442449

443450
//Ear health and hearing
444451
await selectTab(container, 'Ear health and hearing');
445-
const hearingConcernsContainer = await findByLinkIdOrLabel(container, 'Hearing concerns')
452+
const hearingConcernsContainer = await findByLinkIdOrLabel(container, 'Hearing concerns');
446453
await checkRadioOption(
447454
hearingConcernsContainer,
448455
'Is there anything that you are worried about with your hearing?',
@@ -470,7 +477,7 @@ test('Completed questionnaire for 13 years', async () => {
470477

471478
//Oral and dental health
472479
await selectTab(container, 'Oral and dental health');
473-
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns')
480+
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns');
474481
await checkRadioOption(
475482
dentalConcernsContainer,
476483
'Is there anything that you are worried about with your teeth?',
@@ -492,7 +499,7 @@ test('Completed questionnaire for 13 years', async () => {
492499

493500
//Skin
494501
await selectTab(container, 'Skin');
495-
const skinProblemsContainer = await findByLinkIdOrLabel(container,'Skin problems')
502+
const skinProblemsContainer = await findByLinkIdOrLabel(container, 'Skin problems');
496503
await checkRadioOption(
497504
skinProblemsContainer,
498505
'Is there anything that you are worried about with your skin?',

apps/smart-forms-app/src/test/aboriginalFormCompletedFor49To25Years.test.tsx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ test('Completed questionnaire for 49 years', async () => {
234234

235235
//Social and emotional wellbeing
236236
await selectTab(container, 'Social and emotional wellbeing');
237-
const stressfulLifeEvents = await findByLinkIdOrLabel(container,'Stressful life events')
237+
const stressfulLifeEvents = await findByLinkIdOrLabel(container, 'Stressful life events');
238238
await checkRadioOption(
239239
stressfulLifeEvents,
240240
'Have there been any particular stressful life events that are impacting on you/your health lately?',
@@ -348,7 +348,11 @@ test('Completed questionnaire for 49 years', async () => {
348348
'Do you have any worries about physical activity or screen time?',
349349
'Yes'
350350
);
351-
await inputText(physicalActivityConcernsContainer, 'Details', 'Physical activity or screen time concerns');
351+
await inputText(
352+
physicalActivityConcernsContainer,
353+
'Details',
354+
'Physical activity or screen time concerns'
355+
);
352356
await inputText(
353357
container,
354358
'Document conversation about age-appropriate recommendations re physical activity and screen time',
@@ -428,7 +432,7 @@ test('Completed questionnaire for 49 years', async () => {
428432

429433
//Eye health
430434
await selectTab(container, 'Eye health');
431-
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns')
435+
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns');
432436
await checkRadioOption(
433437
visionConcernsContainer,
434438
'Is there anything that you are worried about with your vision?',
@@ -438,7 +442,10 @@ test('Completed questionnaire for 49 years', async () => {
438442
const visualAcuityContainer = await findByLinkIdOrLabel(container, 'Visual acuity');
439443
await inputText(visualAcuityContainer, 'Left eye', 'Left eye');
440444
await inputText(visualAcuityContainer, 'Right eye', 'Right eye');
441-
const trachomaCheckContainer = await findByLinkIdOrLabel(container, 'Trachoma Check (endemic areas)');
445+
const trachomaCheckContainer = await findByLinkIdOrLabel(
446+
container,
447+
'Trachoma Check (endemic areas)'
448+
);
442449
await checkCheckboxOption(trachomaCheckContainer, 'Left eye', 'Trichiasis');
443450
await checkCheckboxOption(trachomaCheckContainer, 'Left eye', 'Corneal scar');
444451
await checkCheckboxOption(trachomaCheckContainer, 'Right eye', 'Trichiasis');
@@ -451,7 +458,7 @@ test('Completed questionnaire for 49 years', async () => {
451458

452459
//Ear health and hearing
453460
await selectTab(container, 'Ear health and hearing');
454-
const hearingConcernsContainer = await findByLinkIdOrLabel(container, 'Hearing concerns')
461+
const hearingConcernsContainer = await findByLinkIdOrLabel(container, 'Hearing concerns');
455462
await checkRadioOption(
456463
hearingConcernsContainer,
457464
'Is there anything that you are worried about with your hearing?',
@@ -479,7 +486,7 @@ test('Completed questionnaire for 49 years', async () => {
479486

480487
//Oral and dental health
481488
await selectTab(container, 'Oral and dental health');
482-
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns')
489+
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns');
483490
await checkRadioOption(
484491
dentalConcernsContainer,
485492
'Is there anything that you are worried about with your teeth?',

apps/smart-forms-app/src/test/aboriginalFormCompletedFor51Years.test.tsx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ test('Completed questionnaire for 51 years', async () => {
256256

257257
//Social and emotional wellbeing
258258
await selectTab(container, 'Social and emotional wellbeing');
259-
const stressfulLifeEvents = await findByLinkIdOrLabel(container,'Stressful life events')
259+
const stressfulLifeEvents = await findByLinkIdOrLabel(container, 'Stressful life events');
260260
await checkRadioOption(
261261
stressfulLifeEvents,
262262
'Have there been any particular stressful life events that are impacting on you/your health lately?',
@@ -488,7 +488,11 @@ test('Completed questionnaire for 51 years', async () => {
488488
container,
489489
'Physical activity concerns'
490490
);
491-
await checkRadioOption(physicalActivityConcernsContainer, 'Do you have any worries about physical activity?', 'Yes');
491+
await checkRadioOption(
492+
physicalActivityConcernsContainer,
493+
'Do you have any worries about physical activity?',
494+
'Yes'
495+
);
492496
await inputText(physicalActivityConcernsContainer, 'Details', 'Physical activity concerns');
493497
await inputText(
494498
container,
@@ -565,7 +569,7 @@ test('Completed questionnaire for 51 years', async () => {
565569

566570
//Eye health
567571
await selectTab(container, 'Eye health');
568-
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns')
572+
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns');
569573
await checkRadioOption(
570574
visionConcernsContainer,
571575
'Is there anything that you are worried about with your vision?',
@@ -575,7 +579,10 @@ test('Completed questionnaire for 51 years', async () => {
575579
const visualAcuityContainer = await findByLinkIdOrLabel(container, 'Visual acuity');
576580
await inputText(visualAcuityContainer, 'Left eye', 'Left eye');
577581
await inputText(visualAcuityContainer, 'Right eye', 'Right eye');
578-
const trachomaCheckContainer = await findByLinkIdOrLabel(container, 'Trachoma Check (endemic areas)');
582+
const trachomaCheckContainer = await findByLinkIdOrLabel(
583+
container,
584+
'Trachoma Check (endemic areas)'
585+
);
579586
await checkCheckboxOption(trachomaCheckContainer, 'Left eye', 'Trichiasis');
580587
await checkCheckboxOption(trachomaCheckContainer, 'Left eye', 'Corneal scar');
581588
await checkCheckboxOption(trachomaCheckContainer, 'Right eye', 'Trichiasis');
@@ -588,7 +595,7 @@ test('Completed questionnaire for 51 years', async () => {
588595

589596
//Ear health and hearing
590597
await selectTab(container, 'Ear health and hearing');
591-
const hearingConcernsContainer = await findByLinkIdOrLabel(container, 'Hearing concerns')
598+
const hearingConcernsContainer = await findByLinkIdOrLabel(container, 'Hearing concerns');
592599
await checkRadioOption(
593600
hearingConcernsContainer,
594601
'Is there anything that you are worried about with your hearing?',
@@ -616,7 +623,7 @@ test('Completed questionnaire for 51 years', async () => {
616623

617624
//Oral and dental health
618625
await selectTab(container, 'Oral and dental health');
619-
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns')
626+
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns');
620627
await checkRadioOption(
621628
dentalConcernsContainer,
622629
'Is there anything that you are worried about with your teeth?',

apps/smart-forms-app/src/test/aboriginalFormCompletedFor5To1Years.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
getInputText,
1414
inputDecimal,
1515
getVisibleTab,
16-
inputDateTime,
16+
inputDateTime
1717
} from './testUtils.ts';
1818
import { AboriginalForm } from './aboriginalFormUtils.tsx';
1919

@@ -245,7 +245,7 @@ test('Completed questionnaire for 5 years', async () => {
245245
'Who lives in your household? / Who does the child live with?',
246246
'Social history'
247247
);
248-
const stressfulLifeEvents = await findByLinkIdOrLabel(container,'Stressful life events')
248+
const stressfulLifeEvents = await findByLinkIdOrLabel(container, 'Stressful life events');
249249
await checkRadioOption(
250250
stressfulLifeEvents,
251251
'Have there been any stressful life events that would cause you or your child to be upset?',
@@ -421,7 +421,7 @@ test('Completed questionnaire for 5 years', async () => {
421421

422422
//Eye health
423423
await selectTab(container, 'Eye health');
424-
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns')
424+
const visionConcernsContainer = await findByLinkIdOrLabel(container, 'Vision concerns');
425425
await checkRadioOption(
426426
visionConcernsContainer,
427427
"Is there anything that you are worried about with your child's vision?",
@@ -501,7 +501,7 @@ test('Completed questionnaire for 5 years', async () => {
501501

502502
//Oral and dental health
503503
await selectTab(container, 'Oral and dental health');
504-
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns')
504+
const dentalConcernsContainer = await findByLinkIdOrLabel(container, 'Dental concerns');
505505
await checkRadioOption(
506506
dentalConcernsContainer,
507507
"Is there anything that you are worried about with your child's teeth or mouth?",
@@ -523,7 +523,7 @@ test('Completed questionnaire for 5 years', async () => {
523523

524524
//Skin
525525
await selectTab(container, 'Skin');
526-
const skinProblemsContainer = await findByLinkIdOrLabel(container,'Skin problems')
526+
const skinProblemsContainer = await findByLinkIdOrLabel(container, 'Skin problems');
527527
await checkRadioOption(skinProblemsContainer, 'Does your child have any skin problems?', 'Yes');
528528
await inputText(skinProblemsContainer, 'Details', 'Skin problems');
529529
await inputText(

0 commit comments

Comments
 (0)