chore: lint fix
parent
6e2a9b14d4
commit
ee518c5520
|
@ -9,7 +9,7 @@ import {
|
|||
getByDataTest,
|
||||
getByInputName,
|
||||
getByTitle,
|
||||
createTask
|
||||
createTask,
|
||||
} from './support/commands'
|
||||
|
||||
declare global {
|
||||
|
|
|
@ -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> => {
|
||||
|
|
Loading…
Reference in New Issue