mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-23 18:50:04 +00:00
upgrade cypress version
This commit is contained in:
parent
0f9a46a7b0
commit
9cadda886e
16
cypress.config.ts
Normal file
16
cypress.config.ts
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import { defineConfig } from 'cypress'
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
viewportWidth: 1280,
|
||||||
|
viewportHeight: 1024,
|
||||||
|
chromeWebSecurity: false,
|
||||||
|
e2e: {
|
||||||
|
// We've imported your old cypress plugins here.
|
||||||
|
// You may want to clean this up later by importing these.
|
||||||
|
setupNodeEvents(on, config) {
|
||||||
|
return require('./cypress/plugins/index.js')(on, config)
|
||||||
|
},
|
||||||
|
baseUrl: 'http://localhost:3000/#',
|
||||||
|
supportFile: false,
|
||||||
|
},
|
||||||
|
})
|
||||||
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"viewportWidth": 1280,
|
|
||||||
"viewportHeight": 1024,
|
|
||||||
"chromeWebSecurity": false,
|
|
||||||
"baseUrl": "http://localhost:3000/#"
|
|
||||||
}
|
|
||||||
2453
package-lock.json
generated
2453
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -60,7 +60,7 @@
|
|||||||
"@types/react-router-dom": "^5.1.7",
|
"@types/react-router-dom": "^5.1.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
||||||
"@typescript-eslint/parser": "^4.19.0",
|
"@typescript-eslint/parser": "^4.19.0",
|
||||||
"cypress": "^6.8.0",
|
"cypress": "^13.17.0",
|
||||||
"gh-pages": "^3.1.0",
|
"gh-pages": "^3.1.0",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"react-scripts": "^5.0.1",
|
"react-scripts": "^5.0.1",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user