File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { BigNumber } from '@ethersproject/bignumber'
2
2
import { InterfaceSectionName } from '@uniswap/analytics-events'
3
3
import { CurrencyAmount } from '@uniswap/sdk-core'
4
- import { FeatureFlag } from 'featureFlags'
5
4
6
5
import { DEFAULT_DEADLINE_FROM_NOW } from '../../../src/constants/misc'
7
6
import { DAI , USDC_MAINNET } from '../../../src/constants/tokens'
@@ -65,9 +64,7 @@ describe('Swap errors', () => {
65
64
} )
66
65
67
66
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 } ` )
71
68
cy . hardhat ( { automine : false } ) . then ( async ( hardhat ) => {
72
69
await hardhat . fund ( hardhat . wallet , CurrencyAmount . fromRawAmount ( USDC_MAINNET , 500e6 ) )
73
70
await hardhat . mine ( )
You can’t perform that action at this time.
0 commit comments