From ee518c5520556539e0196aabbc2529b5392a89e9 Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Thu, 21 Feb 2019 16:08:03 -0800 Subject: [PATCH] chore: lint fix --- ui/cypress/index.d.ts | 2 +- ui/cypress/support/commands.ts | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ui/cypress/index.d.ts b/ui/cypress/index.d.ts index d971c49bdd..d16a4f0c8e 100644 --- a/ui/cypress/index.d.ts +++ b/ui/cypress/index.d.ts @@ -9,7 +9,7 @@ import { getByDataTest, getByInputName, getByTitle, - createTask + createTask, } from './support/commands' declare global { diff --git a/ui/cypress/support/commands.ts b/ui/cypress/support/commands.ts index ef946dc029..477e409fab 100644 --- a/ui/cypress/support/commands.ts +++ b/ui/cypress/support/commands.ts @@ -43,8 +43,10 @@ export const createBucket = (): Cypress.Chainable => { }) } -export const createTask = (orgID?: string): Cypress.Chainable => { - const flux = `option task = { +export const createTask = ( + orgID?: string +): Cypress.Chainable => { + const flux = `option task = { name: "🦄ask", every: 1d, offset: 20m @@ -57,12 +59,11 @@ export const createTask = (orgID?: string): Cypress.Chainable url: '/api/v2/tasks', body: { flux, - orgID - } + orgID, + }, }) } - export const createSource = ( orgID?: string ): Cypress.Chainable => {