Followup styling fixes (#335)

* Followup to add proper score property to popup
* Adding Additional property name constants
This commit is contained in:
Nat Hillard 2021-07-13 11:17:49 -04:00 committed by GitHub
commit 6c8d71c5b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 9 deletions

View file

@ -54,7 +54,7 @@ describe('Tests for the Explore the Map page', () => {
cy.waitForMapIdle(map);
map.fire('click', {lngLat: punx1001Info.coords});
const punx1001FeatureState = getFeatureState(map, punx1001Info.id);
expect(punx1001FeatureState).to.deep.equal({'selected': true});
expect(punx1001FeatureState).to.deep.equal({[constants.SELECTED_PROPERTY]: true});
});
});
});