Skip to content

Commit

Permalink
chore(deps): update cypress to v10 (#316)
Browse files Browse the repository at this point in the history
* chore(deps): update cypress to v10

* test: update project for cypress v10

* test: exclude cypress config from tsconfig to avoid conflicts with vitest

* chore(deps): update cypress to v10.0.3

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Justin Hall <[email protected]>
  • Loading branch information
3 people authored Jun 7, 2022
1 parent e3e5b53 commit 5a9f57d
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 40 deletions.
10 changes: 10 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import { defineConfig } from 'cypress';

export default defineConfig({
video: false,
e2e: {
baseUrl: 'http://localhost:3000',
excludeSpecPattern: ['*.d.ts'],
},
});
5 changes: 0 additions & 5 deletions cypress.json

This file was deleted.

File renamed without changes.
20 changes: 0 additions & 20 deletions cypress/plugins/index.js

This file was deleted.

File renamed without changes.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"commitizen": "4.2.4",
"common-tags": "1.8.2",
"cross-env": "7.0.3",
"cypress": "9.7.0",
"cypress": "10.0.3",
"cz-conventional-changelog": "3.3.0",
"dts-bundle-generator": "6.11.0",
"eslint": "8.17.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"newLine": "lf",
"types": ["node", "vitest/globals"]
},
"exclude": ["cypress"]
"exclude": ["cypress", "cypress.config.ts"]
}

0 comments on commit 5a9f57d

Please sign in to comment.