Skip to content

Commit

Permalink
dev: try
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanshparashar committed Dec 18, 2024
1 parent ab258f2 commit d0c1ec9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/arb-token-bridge-ui/src/util/CommonUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export function shortenTxHash(txHash: string) {
)}`
}

export const isTestingEnvironment =
!!(typeof window !== 'undefined' && window && window.Cypress) ||
process.env.NODE_ENV !== 'production'
export const isTestingEnvironment = !!(
typeof window !== 'undefined' &&
window &&
window.Cypress
)

0 comments on commit d0c1ec9

Please sign in to comment.