These are some that I made, feel free to use them (i.e., simply copy-paste them into VSCode’s /snippets/typescript.json). I solved this by creating helpful snippets to automate repetitive actions. The most time-consuming part of writing a contract test is arguably matching. The video below shows that all you need to do is right-click on the test name and use the context menu to run it. This useful extension allows you to execute or debug individual suites or tests. However, the native regex solution is quite clunky. I write one test at a time, which means I need a way to run one test at a time. People work in different environments and projects (for me, it’s mostly working with React.js and TypeScript on Windows), but the overall approach is valid for everyone. What I do won’t necessarily work for you, at least not entirely. In this article, I intend to explain how I addressed each one of these points myself and equip you with the knowledge to do it on your own.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |