From 4a5a41c59ef489717b39f3622660714fd9564df8 Mon Sep 17 00:00:00 2001 From: Kristie Huang Date: Tue, 21 Nov 2023 14:42:40 -0500 Subject: [PATCH] fix: fix uniswapx feature flag test cleanup (#7615) --- cypress/e2e/swap/errors.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cypress/e2e/swap/errors.test.ts b/cypress/e2e/swap/errors.test.ts index 8825fde201..cef637adc5 100644 --- a/cypress/e2e/swap/errors.test.ts +++ b/cypress/e2e/swap/errors.test.ts @@ -1,7 +1,6 @@ import { BigNumber } from '@ethersproject/bignumber' import { InterfaceSectionName } from '@uniswap/analytics-events' import { CurrencyAmount } from '@uniswap/sdk-core' -import { FeatureFlag } from 'featureFlags' import { DEFAULT_DEADLINE_FROM_NOW } from '../../../src/constants/misc' import { DAI, USDC_MAINNET } from '../../../src/constants/tokens' @@ -65,9 +64,7 @@ describe('Swap errors', () => { }) it('slippage failure', () => { - cy.visit(`/swap?inputCurrency=${USDC_MAINNET.address}&outputCurrency=${DAI.address}`, { - featureFlags: [{ name: FeatureFlag.uniswapXDefaultEnabled, value: false }], - }) + cy.visit(`/swap?inputCurrency=${USDC_MAINNET.address}&outputCurrency=${DAI.address}`) cy.hardhat({ automine: false }).then(async (hardhat) => { await hardhat.fund(hardhat.wallet, CurrencyAmount.fromRawAmount(USDC_MAINNET, 500e6)) await hardhat.mine()