leopardslab / clocal-gcp

🔭 Emulation engine for GCP
Apache License 2.0
67 stars 57 forks source link

Google Code-In 2018: Update package.json for code coverage #47

Open simcard0000 opened 5 years ago

simcard0000 commented 5 years ago

Code coverage is an important part of building applications because it checks how much source code is executed when tests and other files run. A development dependency for nyc was added to package.json, which efficiently checks code coverage depending on parameters. A command for code coverage was also added to "tests" in package.json, where the --all flag was set so that not only can you check test files but others as well. Additionally, a command for checking nyc reports was added.