Skip to content

Commit

Permalink
just use one env
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Jan 4, 2023
1 parent 802ee56 commit bc24c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require('dotenv').config();

/* eslint arrow-body-style: 0 */
module.exports = (() => {
const isUsingMockAPI = process.env.USE_MOCK_API === 'true' || process.env.E2E_TESTING === 'true';
const isUsingMockAPI = process.env.E2E_TESTING === 'true';
if (isUsingMockAPI) {
// eslint-disable-next-line no-console
console.warn('⚠️ Using mock API');
Expand Down

0 comments on commit bc24c5b

Please sign in to comment.