Skip to content

Commit

Permalink
chore: Remove eslint-disable comments
Browse files Browse the repository at this point in the history
  • Loading branch information
leofavre committed Nov 8, 2018
1 parent afbcfde commit 3e3ee2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
"files": "*.{test,spec,cafe}.js",
"rules": {
"no-unused-expressions": "off",
"no-new-wrappers": "off"
"no-new-wrappers": "off",
"func-names": "off",
"prefer-arrow-callback": "off"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const customCode = false;
module.exports = {
main: (browser) => {
browser.url(`http://localhost:8777/${customCode ? 'regression' : ''}/index.html`);
for (let i = 1; i <= 8; i++) { // eslint-disable-line
browser.execute(function (data) { // eslint-disable-line
for (let i = 1; i <= 8; i += 1) {
browser.execute(function (data) {
const select = document.querySelector('sling-select');
select.value = data;
return select.shadowRoot.querySelector('select').options[data].text;
}, [i], function (result) { // eslint-disable-line
}, [i], function (result) {
browser.assert.equal(result.value, `Option ${i}`);
});
}
Expand Down

0 comments on commit 3e3ee2e

Please sign in to comment.