Skip to content

Commit

Permalink
fixed IntelliSense
Browse files Browse the repository at this point in the history
  • Loading branch information
itkhanz committed Aug 21, 2023
1 parent ec6d604 commit e94124b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })

/// <reference types="Cypress" />

import LoginPage from "../e2e/pages/LoginPage"

Cypress.Commands.add('login', () => {
Expand Down
5 changes: 5 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"types": ["cypress", "./cypress/support/index.d.ts"]
}
}

0 comments on commit e94124b

Please sign in to comment.