forked from filiphric/trelloapp-vue-vite-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.ts
37 lines (36 loc) · 843 Bytes
/
cypress.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { defineConfig } from 'cypress'
import constants from './constants'
const { APP } = constants
export default defineConfig({
env: {
coverage: true,
},
retries: {
openMode: 0,
runMode: 1,
},
videoUploadOnPasses: false,
viewportHeight: 550,
viewportWidth: 700,
projectId: 'qmz9cz',
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.ts')(on, config)
},
baseUrl: `http://localhost:${APP}`,
specPattern: 'cypress/e2e/**/*.spec.ts',
},
component: {
devServer: {
framework: 'vue',
bundler: 'vite',
},
setupNodeEvents(on, config) { },
env: {
coverage: false,
},
specPattern: 'src/**/*.spec.ts',
},
})