Skip to content

Commit

Permalink
added env file for test env and updated snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitquette committed Mar 17, 2024
1 parent e3b48d5 commit 3193b1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VITE_URL_API_PROJECTS=fake
VITE_URL_API_USERS=fake
VITE_URL_API_REPORTS=fake
VITE_COOKIE_NAME=audeets.sid
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ typings/

# dotenv environment variables file
.env
.env.test
# .env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down
4 changes: 2 additions & 2 deletions src/pages/login/ButtonsList.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('App component', () => {
>
<a
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedSecondary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-fullWidth MuiButton-root MuiButton-outlined MuiButton-outlinedSecondary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-fullWidth css-jc1r49-MuiButtonBase-root-MuiButton-root"
href="http://localhost:6080/api/auth/google?returnTo=url"
href="fake/api/auth/google?returnTo=url"
tabindex="0"
>
<span
Expand All @@ -53,7 +53,7 @@ describe('App component', () => {
>
<a
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedSecondary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-fullWidth MuiButton-root MuiButton-outlined MuiButton-outlinedSecondary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-fullWidth css-jc1r49-MuiButtonBase-root-MuiButton-root"
href="http://localhost:6080/api/auth/google?returnTo=url"
href="fake/api/auth/google?returnTo=url"
tabindex="0"
>
<span
Expand Down

0 comments on commit 3193b1f

Please sign in to comment.