Skip to content

Commit

Permalink
Merge pull request #47 from atlp-rwanda/setting-coverage
Browse files Browse the repository at this point in the history
setting coverage
  • Loading branch information
DeliceLydia authored Aug 1, 2024
2 parents 999171e + 6aae23f commit 2ff2de1
Show file tree
Hide file tree
Showing 173 changed files with 47,794 additions and 103 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM node

WORKDIR /app

COPY package.json yarn.lock ./
RUN yarn install

COPY . .

RUN yarn build

EXPOSE 5173

CMD ["yarn", "dev"]
23 changes: 23 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: '3.8'

services:
api:
build:
context: .
dockerfile: Dockerfile
ports:
- 5173:5173
environment:
VITE_BACKEND_URL: http://localhost:3000
develop:
watch:
- path: ./package.json
action: rebuild
- path: ./yarn.lock
action: rebuild
- path: .
target: /app
action: sync

volumes:
products:
File renamed without changes.
File renamed without changes.
2,651 changes: 2,651 additions & 0 deletions coverage/clover.xml

Large diffs are not rendered by default.

116 changes: 116 additions & 0 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,50 @@
<html lang="en">

<head>
<title>Code coverage report for All files</title>
<title>Code coverage report for e-commerce-lydia-32-fn</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
<link rel="stylesheet" href="../prettify.css" />
<link rel="stylesheet" href="../base.css" />
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
background-image: url(../sort-arrow-sprite.png);
}
</style>
</head>

<body>
<div class='wrapper'>
<div class='pad1'>
<h1>All files</h1>
<h1><a href="../index.html">All files</a> e-commerce-lydia-32-fn</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">Unknown% </span>
<span class="strong">0% </span>
<span class="quiet">Statements</span>
<span class='fraction'>0/0</span>
<span class='fraction'>0/1</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">Unknown% </span>
<span class="strong">100% </span>
<span class="quiet">Branches</span>
<span class='fraction'>0/0</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">Unknown% </span>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>0/0</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">Unknown% </span>
<span class="strong">0% </span>
<span class="quiet">Lines</span>
<span class='fraction'>0/0</span>
<span class='fraction'>0/1</span>
</div>


Expand All @@ -61,7 +61,7 @@ <h1>All files</h1>
</div>
</template>
</div>
<div class='status-line medium'></div>
<div class='status-line low'></div>
<div class="pad1">
<table class="coverage-summary">
<thead>
Expand All @@ -78,24 +78,39 @@ <h1>All files</h1>
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
</tr>
</thead>
<tbody></tbody>
<tbody><tr>
<td class="file low" data-value="tailwind.config.js"><a href="tailwind.config.js.html">tailwind.config.js</a></td>
<td data-value="0" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="1" class="abs low">0/1</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="1" class="abs low">0/1</td>
</tr>

</tbody>
</table>
</div>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<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-07-31T08:59:56.571Z
at 2024-08-01T15:39:37.758Z
</div>
<script src="prettify.js"></script>
<script src="../prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
<script src="../sorter.js"></script>
<script src="../block-navigation.js"></script>
</body>
</html>

Loading

0 comments on commit 2ff2de1

Please sign in to comment.