Skip to content

Commit

Permalink
chore(cypress): fixes cypress e2e test pipeline (#695)
Browse files Browse the repository at this point in the history
fix: cypress:run broken command fixed by cypress.config and file naming convention update

Co-authored-by: Ricardo Lüders <ricardo@luders.com.br>
  • Loading branch information
ovichowdhury and rluders authored Apr 17, 2023
1 parent 1fa7542 commit ff52bb4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cypress.config.ts
11 changes: 11 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable @typescript-eslint/no-empty-function */
import { defineConfig } from 'cypress';

export default defineConfig({
fixturesFolder: false,
e2e: {
setupNodeEvents(_on, _config) {},
baseUrl: 'http://localhost:3000',
},
});
5 changes: 0 additions & 5 deletions cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"target": "ESNext",
"types": ["@testing-library/jest-dom", "node", "vitest"]
},
"exclude": ["/build", "/lib"],
"exclude": ["/build", "/lib", "./cypress.config.ts"],
"include": ["**/*.js", "**/*.ts", "**/*.tsx"]
}

0 comments on commit ff52bb4

Please sign in to comment.