Comments (4)
from mycrypto.
General coverage improvements or....?
from mycrypto.
WIP @ https://github.com/MyEtherWallet/MyEtherWallet/tree/redux-test-improvements
@dternyak One improvement to consider is leveraging snapshot testing for these. Effectively replace defining expected results with snapshots that are auto-generated. Example: https://github.com/bfillmer/todo-and-tonic/blob/master/src/state/reducers/todos.spec.js
When iterating on the test the first time through you update the snapshot until you see the state you expect, then leave it. In the future if any code changes would affect the state shape the snapshots won't match up and Jest will let you know. If it's an expected change you can simply update the snapshot, if not then you know to start digging into the issue.
from mycrypto.
I've heard good things about snapshot testing as well. Seems like a good approach for getting an initial layer of tests going 👍
from mycrypto.
Related Issues (20)
- Adding zkSync L2 network HOT 1
- THORchain derivation path changed over 2022? HOT 1
- What now? all my coins is safety walet . But i dont no why .?? I pay for gass more time i no have any more cash...i woking 12 h ... Ok that for me is to hard help me
- "session not found" and "forbidden key path"
- Can I connect to my old ledger harmony one wallet address from the old chrome extension?
- No way to cancel or speed-up transaction in Destkop app HOT 1
- interact-with-contracts function doesn't answer uptodate data on goerli
- How to build for desktop?
- Trezor Connect v8 is deprecated. Please ask your DeFi platform/wallet developers (not Trezor) to update to Connect v9. HOT 2
- Trustee
- Is MyCrypto dead? HOT 3
- ETC NETWORK OFFLINE HOT 1
- NEED ASAP Upgrade Trezor Connect to v9 HOT 1
- Phoning home to mycryptoapi.com?
- Unable to use WalletConnect without Pairing Code HOT 1
- Wallet issue
- Dogecoin Support HOT 2
- 0xa1b1bbB8070Df2450810b8eB2425D543cfCeF79b
- mycrypto send token
- Error: Invalid string length
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mycrypto.