chore: lint fix

pull/12099/head
Andrew Watkins 2019-02-21 16:08:03 -08:00
parent 6e2a9b14d4
commit ee518c5520
2 changed files with 7 additions and 6 deletions

View File

@ -9,7 +9,7 @@ import {
getByDataTest,
getByInputName,
getByTitle,
createTask
createTask,
} from './support/commands'
declare global {

View File

@ -43,8 +43,10 @@ export const createBucket = (): Cypress.Chainable<Cypress.Response> => {
})
}
export const createTask = (orgID?: string): Cypress.Chainable<Cypress.Response> => {
const flux = `option task = {
export const createTask = (
orgID?: string
): Cypress.Chainable<Cypress.Response> => {
const flux = `option task = {
name: "🦄ask",
every: 1d,
offset: 20m
@ -57,12 +59,11 @@ export const createTask = (orgID?: string): Cypress.Chainable<Cypress.Response>
url: '/api/v2/tasks',
body: {
flux,
orgID
}
orgID,
},
})
}
export const createSource = (
orgID?: string
): Cypress.Chainable<Cypress.Response> => {