Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen committed Oct 19, 2023
1 parent a4112f7 commit 0f2272a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
REACT_APP_CACHE_VERSION=$npm_package_cacheVersion
REACT_APP_SERVER_VERSION=$npm_package_serverVersion
REACT_APP_VERSION=$npm_package_version
# TODO: Remove this when upgrading to react-scripts 5 (and webpack 5)
NODE_OPTIONS=--openssl-legacy-provider
2 changes: 2 additions & 0 deletions scripts/startAppForCypress.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ const env = Object
acc.REACT_APP_DHIS2_BASE_URL = allEnvVariables[key];
} else if (key.toUpperCase() === 'CYPRESS_DHIS2APIVERSION') {
acc.REACT_APP_DHIS2_API_VERSION = allEnvVariables[key];
} else if (key.toUpperCase() === 'NODE_OPTIONS') {
acc[key] = allEnvVariables[key];
}
return acc;
}, { BROWSER: 'none' });
Expand Down

0 comments on commit 0f2272a

Please sign in to comment.