
* change tags in tests * change tags in tests * add finde-names * correct critical tag * fix navigation * remove comments * fix config * fix baseUrl port
17 lines
466 B
JavaScript
17 lines
466 B
JavaScript
export function expectCorrectDataInAttribute(
|
|
attribute,
|
|
{
|
|
attributeName,
|
|
attributeType,
|
|
entityType = null,
|
|
unit = null,
|
|
valueRequired = true
|
|
}
|
|
) {
|
|
expect(attribute.name).to.eq(attributeName);
|
|
expect(attribute.slug).to.eq(attributeName);
|
|
expect(attribute.inputType).to.eq(attributeType);
|
|
expect(attribute.entityType).to.eq(entityType);
|
|
expect(attribute.unit).to.eq(unit);
|
|
expect(attribute.valueRequired).to.eq(valueRequired);
|
|
}
|