File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 11module CypressRails
22 class Init
33 DEFAULT_CONFIG = <<~CYPRESS_CONFIG
4- const { defineConfig } = require('cypress')
4+ const { defineConfig } = require('cypress')
55
6- module.exports = defineConfig({
7- // setupNodeEvents can be defined in either
8- // the e2e or component configuration
9- e2e: {
10- setupNodeEvents(on, config) {
11- on('before:browser:launch', (browser = {}, launchOptions) => {
12- /* ... */
13- })
6+ module.exports = defineConfig({
7+ // setupNodeEvents can be defined in either
8+ // the e2e or component configuration
9+ e2e: {
10+ setupNodeEvents(on, config) {
11+ on('before:browser:launch', (browser = {}, launchOptions) => {
12+ /* ... */
13+ })
14+ },
1415 },
15- },
16- screenshotsFolder: "tmp/cypress_screenshots",
17- videosFolder: "tmp/cypress_videos",
18- trashAssetsBeforeRuns: false
19- })
20-
16+ screenshotsFolder: "tmp/cypress_screenshots",
17+ videosFolder: "tmp/cypress_videos",
18+ trashAssetsBeforeRuns: false
19+ })
2120 CYPRESS_CONFIG
2221
2322 def call ( dir = Dir . pwd )
You can’t perform that action at this time.
0 commit comments