Skip to content

Commit 0a9fc69

Browse files
authored
Merge pull request #3446 from rrQuintana/patch-1
Cypress env variables fix part5d.md
2 parents 604640a + 4f5ba67 commit 0a9fc69

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/content/5/es/part5d.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ Definamos la URL de nuestra aplicación <i> baseUrl </i> en el [archivo de confi
874874
e2e: {
875875
setupNodeEvents(on, config){
876876
},
877-
baseUrl: 'http://localhost:3000' // highlight-line
877+
baseUrl: 'http://localhost:3000' // highlight-line
878878
},
879879
})
880880
}
@@ -905,8 +905,10 @@ Expandamos el archivo de configuracion <i>cypress.config.js_:</i>
905905
setupNodeEvents(on, config){
906906
},
907907
baseUrl: 'http://localhost:3000',
908-
BACKEND: 'http://localhost:3001/api' // highlight-line
909908
},
909+
env: { // highlight-line
910+
BACKEND: 'http://localhost:3001/api' // highlight-line
911+
} // highlight-line
910912
})
911913
}
912914
```

0 commit comments

Comments
 (0)