Fix ESLint newline-per-chained-call in tests

[MAILPOET-1031]
This commit is contained in:
Pavel Dohnal
2017-08-30 15:26:02 +02:00
parent 33733219f6
commit f438eee842
2 changed files with 5 additions and 2 deletions

View File

@@ -17,7 +17,6 @@
"semi": 0, "semi": 0,
"keyword-spacing": 0, "keyword-spacing": 0,
"no-bitwise": 0, "no-bitwise": 0,
"newline-per-chained-call": 0,
"no-spaced-func": 0, "no-spaced-func": 0,
"func-call-spacing": 0, "func-call-spacing": 0,
"max-len": 0, "max-len": 0,

View File

@@ -93,7 +93,11 @@ define([
expect(model.get('blocks')).to.have.length(1); expect(model.get('blocks')).to.have.length(1);
expect(model.get('blocks').at(0).get('blocks')).to.have.length(2); expect(model.get('blocks').at(0).get('blocks')).to.have.length(2);
expect(model.get('blocks').at(0).get('blocks').at(1).get('someField')).to.equal('some text 2'); expect(
model.get('blocks').at(0)
.get('blocks').at(1)
.get('someField')
).to.equal('some text 2');
}); });
}); });
}); });