Proof of concept: load map data from tile server #469
Annotations
5 errors
tests/unit/composables/useTooltips.spec.ts > useTooltips > with selected indicator FOI > generates correct tooltip content:
tests/unit/composables/useTooltips.spec.ts#L40
AssertionError: expected undefined to deeply equal '<div class="text-body-1">My region</d…'
- Expected:
"<div class=\"text-body-1\">My region</div><div class=\"text-body-2\"><span class=\"font-weight-bold\">Force of infection: 0.100<br/></span>Seroprevalence at 9 years of age: 0.200%<br/>Seroprevalence classification at age 9 years: Under 40%<br/>Hospital admissions: 0.300<br/></div>"
+ Received:
undefined
❯ tests/unit/composables/useTooltips.spec.ts:40:37
|
tests/unit/composables/useTooltips.spec.ts > useTooltips > with selected indicator serop9 > generates correct tooltip content:
tests/unit/composables/useTooltips.spec.ts#L62
AssertionError: expected undefined to deeply equal '<div class="text-body-1">My area</div…'
- Expected:
"<div class=\"text-body-1\">My area</div><div class=\"text-body-2\"><span class=\"font-weight-bold\">Seroprevalence at 9 years of age: 0.400%<br/></span>Force of infection: 0.300<br/>Seroprevalence classification at age 9 years: Above 60%<br/>Hospital admissions: 0.500<br/></div>"
+ Received:
undefined
❯ tests/unit/composables/useTooltips.spec.ts:62:37
|
tests/unit/composables/useTooltips.spec.ts > useTooltips > with selected indicator hosp_total > generates correct tooltip content:
tests/unit/composables/useTooltips.spec.ts#L84
AssertionError: expected undefined to deeply equal '<div class="text-body-1">My area</div…'
- Expected:
"<div class=\"text-body-1\">My area</div><div class=\"text-body-2\"><span class=\"font-weight-bold\">Hospital admissions: 0.500<br/></span>Force of infection: 0.300<br/>Seroprevalence at 9 years of age: 0.400%<br/>Seroprevalence classification at age 9 years: Above 60%<br/></div>"
+ Received:
undefined
❯ tests/unit/composables/useTooltips.spec.ts:84:37
|
tests/unit/composables/useTooltips.spec.ts > useTooltips > with selected indicator hosp_5_9 > generates correct tooltip content:
tests/unit/composables/useTooltips.spec.ts#L106
AssertionError: expected undefined to deeply equal '<div class="text-body-1">My area</div…'
- Expected:
"<div class=\"text-body-1\">My area</div><div class=\"text-body-2\"><span class=\"font-weight-bold\">Hospital admissions in 5-9 year olds: 0.700<br/></span>Force of infection: 0.300<br/>Seroprevalence at 9 years of age: 0.400%<br/>Seroprevalence classification at age 9 years: Above 60%<br/>Hospital admissions: 0.500<br/></div>"
+ Received:
undefined
❯ tests/unit/composables/useTooltips.spec.ts:106:37
|
test
Process completed with exit code 1.
|