fix lint issues

This commit is contained in:
Nolan Lawson 2018-02-19 18:25:59 -08:00
parent 391455bee4
commit 5c2dc4c421
11 changed files with 32 additions and 28 deletions

View file

@ -41,3 +41,7 @@ Lint:
Run integration tests: Run integration tests:
npm test npm test
Automatically fix most linting issues:
npx standard --fix

View file

@ -1,5 +1,5 @@
import { Selector as $ } from 'testcafe' import { Selector as $ } from 'testcafe'
import { addInstanceButton, getUrl, instanceInput, login, settingsButton } from '../utils' import { addInstanceButton, getUrl, instanceInput, settingsButton } from '../utils'
fixture`02-login-spec.js` fixture`02-login-spec.js`
.page`http://localhost:4002` .page`http://localhost:4002`

View file

@ -1,5 +1,5 @@
import { Selector as $ } from 'testcafe' import { Selector as $ } from 'testcafe'
import { getUrl, login, validateTimeline } from '../utils' import { getUrl, validateTimeline } from '../utils'
import { homeTimeline, notifications, localTimeline, favorites } from '../fixtures' import { homeTimeline, notifications, localTimeline, favorites } from '../fixtures'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'

View file

@ -1,5 +1,5 @@
import { Selector as $ } from 'testcafe' import { Selector as $ } from 'testcafe'
import { getUrl, login } from '../utils' import { getUrl } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`04-pinned-statuses.js` fixture`04-pinned-statuses.js`