Browse Source

Update tests

up-style-manager
Artur Arseniev 4 years ago
parent
commit
1b9de49b79
  1. 7
      test/specs/style_manager/model/Properties.js

7
test/specs/style_manager/model/Properties.js

@ -84,7 +84,12 @@ describe('StyleManager properties logic', () => {
expect(style[propInTest]).toBe('55%');
expect(compTypeProp.hasValue()).toBe(true);
expect(compTypePropInn.hasValue()).toBe(true);
otherProps.forEach(prop => expect(style[prop]).toBe(''));
otherProps.forEach(prop => {
expect(style[prop]).toBe('');
if (prop !== propTest) {
expect(compTypeProp.getProperty(prop).hasValue()).toBe(false);
}
});
});
});
});

Loading…
Cancel
Save