Skip to content

Commit

Permalink
Merge pull request #28 from somramnani/refactor/improve-test-output
Browse files Browse the repository at this point in the history
refactor: add verbose to test script
  • Loading branch information
somramnani authored Nov 23, 2024
2 parents cb69bc7 + 880ba89 commit dc49ee5
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1732348606980" clover="3.2.0">
<project timestamp="1732348606980" name="All files">
<coverage generated="1732351671590" clover="3.2.0">
<project timestamp="1732351671590" name="All files">
<metrics statements="29" coveredstatements="26" conditionals="4" coveredconditionals="3" methods="6" coveredmethods="4" elements="39" coveredelements="33" complexity="0" loc="29" ncloc="29" packages="2" files="3" classes="3"/>
<package name="api">
<metrics statements="17" coveredstatements="15" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="1"/>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> api</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-11-23T07:56:46.974Z
at 2024-11-23T08:47:51.585Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/api/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">api</a> index.j
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-11-23T07:56:46.974Z
at 2024-11-23T08:47:51.585Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/api/routes/hello.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">api/routes</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-11-23T07:56:46.974Z
at 2024-11-23T08:47:51.585Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/api/routes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1><a href="../../index.html">All files</a> api/routes</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-11-23T07:56:46.974Z
at 2024-11-23T08:47:51.585Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/api/routes/superHeroAPI.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">api/routes</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-11-23T07:56:46.974Z
at 2024-11-23T08:47:51.585Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-11-23T07:56:46.974Z
at 2024-11-23T08:47:51.585Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "## Introduction A proxy server built in ExpressJS that bypasses a CORs error on an API request. The server acts as a mediator between the client and server by adding CORS headers to a request. It operates between the frontend web application that initiates the request and the server that provides the response data. ## Usage In your front end application make a get request to https://api-proxy-server-steel.vercel.app/ with the corresponding method using one of the following routes below.",
"main": "index.js",
"scripts": {
"test": "NODE_ENV=test jest --coverage",
"test": "NODE_ENV=test jest --coverage --verbose",
"coverage:upload": "codecov",
"start": "node api/index"
},
Expand Down

0 comments on commit dc49ee5

Please sign in to comment.