From 870ceaebd91cd8cd91c67d37bb7ca1b8b76d88bf Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 11 Sep 2024 23:27:36 +0000 Subject: [PATCH] fix: Update VITE_STRIPE_KEY in .env.example Update the VITE_STRIPE_KEY value in .env.example to string type --- .env.example | 2 +- cypress/e2e/locale.cy.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 2daea93..b86194e 100644 --- a/.env.example +++ b/.env.example @@ -2,4 +2,4 @@ VITE_APP_NAME="App Name" VITE_PUSHER_KEY= VITE_GA_MEASUREMENT_ID= VITE_API_URL=http://192.168.10.17/ -VITE_STRIPE_KEY=sk-test-01 +VITE_STRIPE_KEY="sk-test-01" diff --git a/cypress/e2e/locale.cy.ts b/cypress/e2e/locale.cy.ts index 1a66907..a232520 100644 --- a/cypress/e2e/locale.cy.ts +++ b/cypress/e2e/locale.cy.ts @@ -63,7 +63,11 @@ describe("Locales", () => { // The navbar should contain "Connexion" cy.get("nav").should("contain", "Connexion"); // In the header, the og:locale should be "fr" - cy.get("head meta[property='og:locale']").should("have.attr", "content", "fr"); + cy.get("head meta[property='og:locale']").should( + "have.attr", + "content", + "fr" + ); // Generate an API call to check the Axios is now sending the correct Accept-Language header // @todo });