fix lint issues
This commit is contained in:
parent
391455bee4
commit
5c2dc4c421
|
@ -41,3 +41,7 @@ Lint:
|
||||||
Run integration tests:
|
Run integration tests:
|
||||||
|
|
||||||
npm test
|
npm test
|
||||||
|
|
||||||
|
Automatically fix most linting issues:
|
||||||
|
|
||||||
|
npx standard --fix
|
|
@ -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`
|
||||||
|
|
|
@ -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'
|
||||||
|
|
||||||
|
|
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue