Skip to content

Commit

Permalink
chore: store conditional result in a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Nov 14, 2024
1 parent 008de41 commit c3cfa9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/specs/test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {

describe('Wallet App Test Cases', { execTimeout: DEFAULT_EXEC_TIMEOUT }, () => {
const AGORIC_NET = Cypress.env('AGORIC_NET').trim() || 'local';
const userConfig = config[AGORIC_NET === 'local' ? 'local' : 'testnet'];
const network = AGORIC_NET === 'local' ? 'local' : 'testnet';
const userConfig = config[network];
let istBalance = 0;

context('Bidding Tests', () => {
Expand Down

0 comments on commit c3cfa9c

Please sign in to comment.