Skip to content

Commit

Permalink
useCache
Browse files Browse the repository at this point in the history
  • Loading branch information
Seroxdesign committed Jun 28, 2024
1 parent 3ad020e commit 627f3b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wallets/metamask/src/fixtures/metaMaskFixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import { cachelessSetupMetaMask } from '../fixture-actions/noCachMetaMaskSetup'
import { persistLocalStorage } from '../fixture-actions/persistLocalStorage'
import { SEED_PHRASE } from '../utils/constants'

const USECACHE = process.env.SYNPRESS_USE_CACHE === true && process.platform !== 'win32'
// This is a workaround for the issue with the cache on Windows.
// The cache is not supported on Windows, so we need to disable it.
// process.env.SYNPRESS_USE_CACHE === true will enable the cache.
const USECACHE = true && process.platform !== 'win32'

type MetaMaskFixtures = {
_contextPath: string
Expand Down

0 comments on commit 627f3b4

Please sign in to comment.