Skip to content

Commit 79280f9

Browse files
committed
Fix endpoint is not defined
Signed-off-by: Lin Wang <wonglam@amazon.com>
1 parent 3c3100a commit 79280f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cypress/utils/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const currentBackendEndpoint = (() => {
5959
}
6060
},
6161
get() {
62-
return Cypress.env('currentEndpoint');
62+
return Cypress.env('currentEndpoint') || DEFAULT_ENDPOINT;
6363
},
6464
});
6565
})();

0 commit comments

Comments
 (0)