Skip to content

Commit 4a5a41c

Browse files
authored
fix: fix uniswapx feature flag test cleanup (Uniswap#7615)
1 parent 4bec816 commit 4a5a41c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cypress/e2e/swap/errors.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { BigNumber } from '@ethersproject/bignumber'
22
import { InterfaceSectionName } from '@uniswap/analytics-events'
33
import { CurrencyAmount } from '@uniswap/sdk-core'
4-
import { FeatureFlag } from 'featureFlags'
54

65
import { DEFAULT_DEADLINE_FROM_NOW } from '../../../src/constants/misc'
76
import { DAI, USDC_MAINNET } from '../../../src/constants/tokens'
@@ -65,9 +64,7 @@ describe('Swap errors', () => {
6564
})
6665

6766
it('slippage failure', () => {
68-
cy.visit(`/swap?inputCurrency=${USDC_MAINNET.address}&outputCurrency=${DAI.address}`, {
69-
featureFlags: [{ name: FeatureFlag.uniswapXDefaultEnabled, value: false }],
70-
})
67+
cy.visit(`/swap?inputCurrency=${USDC_MAINNET.address}&outputCurrency=${DAI.address}`)
7168
cy.hardhat({ automine: false }).then(async (hardhat) => {
7269
await hardhat.fund(hardhat.wallet, CurrencyAmount.fromRawAmount(USDC_MAINNET, 500e6))
7370
await hardhat.mine()

0 commit comments

Comments
 (0)