Ver Fonte

feat: serving coverage report using Live Server

Klaus Hott Vidal há 3 anos atrás
pai
commit
f6608f569d
3 ficheiros alterados com 9 adições e 1 exclusões
  1. 1 0
      .gitpod.yml
  2. 2 1
      .vscode/settings.json
  3. 6 0
      README.md

+ 1 - 0
.gitpod.yml

@@ -7,3 +7,4 @@ vscode:
   extensions:
     - esbenp.prettier-vscode
     - JuanBlanco.solidity
+    - ritwickdey.LiveServer

+ 2 - 1
.vscode/settings.json

@@ -8,5 +8,6 @@
   },
   "[typescript]": {
     "editor.defaultFormatter": "esbenp.prettier-vscode"
-  }
+  },
+  "liveServer.settings.root": "/coverage"
 }

+ 6 - 0
README.md

@@ -157,6 +157,12 @@ $ yarn deploy --greeting "Bonjour, le monde!"
 
 If you use VSCode, you can get Solidity syntax highlighting with the [hardhat-solidity](https://marketplace.visualstudio.com/items?itemName=NomicFoundation.hardhat-solidity) extension.
 
+## Using GitPod
+
+Gitpod is an open-source developer platform for remote development.
+
+To view the coverage report generated by `yarn coverage` just click `Go Live` from the status bar to turn the server on/off.
+
 ## License
 
 [MIT](./LICENSE.md) © Paul Razvan Berg