Skip to content

Commit

Permalink
Simplifying isLocal logic
Browse files Browse the repository at this point in the history
  • Loading branch information
carlyrichmond committed Oct 18, 2024
1 parent 1a1b99a commit b8c9dc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/synthetics-replicator-tests/synthetics.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default env => {
url: 'http://localhost:5173',
username: process.env.REPLICATR_USERNAME,
password: process.env.REPLICATR_PASSWORD,
isLocal: true
isLocal: env !== 'production'
},
playwrightOptions: {
ignoreHTTPSErrors: false,
Expand All @@ -30,7 +30,6 @@ export default env => {
};
if (env === 'production') {
config.params!.url = 'https://synthetics-replicator.netlify.app/';
config.params!.isLocal = false;
}
return config;
};

0 comments on commit b8c9dc8

Please sign in to comment.