Enforce block spacing with eslint
Change-Id: Ib570114ae87e1d937dd756129f9ec988b57b449b
diff --git a/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown_test.html b/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown_test.html
index e335870..8654ac8 100644
--- a/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown_test.html
+++ b/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown_test.html
@@ -49,7 +49,7 @@
});
test('tap on trigger opens menu', () => {
- sandbox.stub(element, '_open', () => {element.$.dropdown.open();});
+ sandbox.stub(element, '_open', () => { element.$.dropdown.open(); });
assert.isFalse(element.$.dropdown.opened);
MockInteractions.tap(element.$.trigger);
assert.isTrue(element.$.dropdown.opened);
diff --git a/polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface_test.html b/polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface_test.html
index 1ff08ea..2a2fdef 100644
--- a/polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface_test.html
+++ b/polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface_test.html
@@ -78,7 +78,7 @@
test('_send on failure rejects with response text', () => {
sendStub.returns(Promise.resolve(
- {status: 400, text() {return Promise.resolve('text');}}));
+ {status: 400, text() { return Promise.resolve('text'); }}));
return plugin._send().catch(r => {
assert.equal(r, 'text');
});
@@ -86,7 +86,7 @@
test('_send on failure without text rejects with code', () => {
sendStub.returns(Promise.resolve(
- {status: 400, text() {return Promise.resolve(null);}}));
+ {status: 400, text() { return Promise.resolve(null); }}));
return plugin._send().catch(r => {
assert.equal(r, '400');
});