Skip to content
Snippets Groups Projects

Feat/open submap bioentity

Merged Mateusz Bolewski requested to merge feat/open-submap-bioentity into development
3 unresolved threads
7 files
+ 40
22
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -34,18 +34,14 @@ describe('BioEntitiesPinsList - component ', () => {
it('should display name of bio entity element', () => {
renderComponent(BIO_ENTITY.name, BIO_ENTITY);
const bioEntityName = bioEntitiesContentFixture[2].bioEntity.fullName
? bioEntitiesContentFixture[2].bioEntity.fullName
: '';
const bioEntityName = bioEntitiesContentFixture[2].bioEntity.fullName || '';
expect(screen.getByText(bioEntityName, { exact: false })).toBeInTheDocument();
});
it('should display symbol of bio entity element', () => {
renderComponent(BIO_ENTITY.name, BIO_ENTITY);
const bioEntitySymbol = bioEntitiesContentFixture[2].bioEntity.symbol
? bioEntitiesContentFixture[2].bioEntity.symbol
: '';
const bioEntitySymbol = BIO_ENTITY.symbol || '';
expect(screen.getByText(bioEntitySymbol, { exact: false })).toBeInTheDocument();
});
Loading