test: swap details dropdown unit test (#6349)
* init for swap details dropdown test * more tests * complete tests, ready for review * add to dev deps * init * merge main * init * use test constants * use constants * change address * more comprehensive tests * merge with constants * move noop * add eslint rule * return null in noop * merge * update snapshot * constant name * snapshot change * lint * undo eslint change * Update src/components/swap/SwapDetailsDropdown.test.tsx Co-authored-by:Zach Pomerantz <zzmp@uniswap.org> * Update src/components/swap/SwapDetailsDropdown.test.tsx Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org> * Update src/components/swap/SwapDetailsDropdown.test.tsx Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org> * respond comments * update snapshot * merge main * user event instead * add act * import fix --------- Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org>
Showing
... | @@ -113,6 +113,7 @@ | ... | @@ -113,6 +113,7 @@ |
"ms.macro": "^2.0.0", | "ms.macro": "^2.0.0", | ||
"prettier": "^2.7.1", | "prettier": "^2.7.1", | ||
"react-scripts": "^4.0.3", | "react-scripts": "^4.0.3", | ||
"resize-observer-polyfill": "^1.5.1", | |||
"serve": "^11.3.2", | "serve": "^11.3.2", | ||
"source-map-explorer": "^2.5.3", | "source-map-explorer": "^2.5.3", | ||
"ts-transform-graphql-tag": "^0.2.1", | "ts-transform-graphql-tag": "^0.2.1", | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment