Set form default styles in mapper

[MAILPOET-2938]
This commit is contained in:
Rostislav Wolny
2020-06-03 10:29:32 +02:00
committed by Veljko V
parent 9f9b21169a
commit fb278924cc
3 changed files with 25 additions and 5 deletions

View File

@@ -59,9 +59,12 @@ describe('Form Data Load Mapper', () => {
expect(map(data).settings).to.have.property('placeFormBellowAllPosts', false);
});
it('Sets default paddings', () => {
it('Sets default form styles', () => {
expect(map(data).settings).to.have.property('formPadding', 20);
expect(map(data).settings).to.have.property('inputPadding', 5);
expect(map(data).settings).to.have.property('alignment', 'left');
expect(map(data).settings).to.have.property('borderRadius', 0);
expect(map(data).settings).to.have.property('borderSize', 0);
});
it('Maps form and input padding', () => {