1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-15 08:00:05 +00:00

chore(lint): fixed linting issues

This commit is contained in:
Yury Shkoda
2022-06-20 19:26:29 +03:00
parent 1596173dda
commit 489947bcae
59 changed files with 243 additions and 236 deletions

View File

@@ -3,7 +3,7 @@ const username = Cypress.env('username')
const password = Cypress.env('password')
const testingFinishTimeout = Cypress.env('testingFinishTimeout')
context('sasjs-tests', function () {
context('sasjs-tests', function() {
this.beforeAll(() => {
cy.visit(sasjsTestsUrl)
})
@@ -12,8 +12,8 @@ context('sasjs-tests', function () {
cy.reload()
})
it('Should have all tests successfull', (done) => {
cy.get('body').then(($body) => {
it('Should have all tests successfull', done => {
cy.get('body').then($body => {
if ($body.find('input[placeholder="User Name"]').length > 0) {
cy.get('input[placeholder="User Name"]').type(username)
cy.get('input[placeholder="Password"]').type(password)
@@ -42,8 +42,8 @@ context('sasjs-tests', function () {
})
})
it('Should have all tests successfull with debug on', (done) => {
cy.get('body').then(($body) => {
it('Should have all tests successfull with debug on', done => {
cy.get('body').then($body => {
if ($body.find('input[placeholder="User Name"]').length > 0) {
cy.get('input[placeholder="User Name"]').type(username)
cy.get('input[placeholder="Password"]').type(password)