Skip to content

Commit 4f5ba67

Browse files
authored
Cypress env variables fix part5d.md
Identation fixed and correct way to put Cypress env variables
1 parent d7dc92c commit 4f5ba67

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)