Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order tracking #34

Open
wants to merge 223 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
eea6e59
Implement frontend authentication and authorization
sevelinCa Jun 20, 2024
6b64a43
implementation of orderStatus charts
Ismaelmurekezi Jun 23, 2024
0edbe3d
mend
ManziPatrick Jun 24, 2024
a98cdb7
mend
ManziPatrick Jun 25, 2024
1db9c04
work on products page design
MnorbertVii Jun 25, 2024
91e4872
badge and some analytics components
Ismaelmurekezi Jun 26, 2024
040254b
Update setup.yml
Ismaelmurekezi Jun 26, 2024
1dea594
Update setup.yml
Ismaelmurekezi Jun 26, 2024
08e442a
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
a5b800a
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
771ff75
Update setup.yml
Ismaelmurekezi Jun 26, 2024
82ca3f5
Update setup.yml
Ismaelmurekezi Jun 26, 2024
b57dc38
Update setup.yml
Ismaelmurekezi Jun 26, 2024
eb0be0f
Update setup.yml
Ismaelmurekezi Jun 26, 2024
ad681da
Update setup.yml
Ismaelmurekezi Jun 26, 2024
0fe6207
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
4e95661
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
93915cf
fixing bug
Ismaelmurekezi Jun 26, 2024
f7877f6
testing badge percentage
Ismaelmurekezi Jun 26, 2024
08b6017
Update README.md
Ismaelmurekezi Jun 26, 2024
8a16641
Update README.md
Ismaelmurekezi Jun 26, 2024
120e71c
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
a06f61a
add productId in params
MnorbertVii Jun 26, 2024
a780ede
Update README.md
Ismaelmurekezi Jun 26, 2024
cb4be84
Update README.md
Ismaelmurekezi Jun 26, 2024
6633bc9
Update README.md
Ismaelmurekezi Jun 26, 2024
6cf6aab
Update README.md
Ismaelmurekezi Jun 26, 2024
4fdbd58
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
39c73ba
fixing badge
Ismaelmurekezi Jun 26, 2024
d20c262
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
0e30b4b
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
5917267
Update README.md
Ismaelmurekezi Jun 26, 2024
4634856
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
0a8a2b2
fix bug
Ismaelmurekezi Jun 26, 2024
4f4ffc6
fixing bugs
Ismaelmurekezi Jun 26, 2024
7e8287b
changing code cov
Ismaelmurekezi Jun 26, 2024
85d067f
work on responsiveness
MnorbertVii Jun 27, 2024
031c4cf
mend
ManziPatrick Jun 27, 2024
8359b84
fixing arrangement of status
Ismaelmurekezi Jun 28, 2024
e7cb5e4
mend
ManziPatrick Jul 1, 2024
e69c131
mend
ManziPatrick Jul 1, 2024
a1ee77a
add single product
ManziPatrick Jul 1, 2024
6d194df
add single product
ManziPatrick Jul 1, 2024
5389fab
finshed design and responsiveness
iamfrerot Jul 1, 2024
cecff75
created CI file
iamfrerot Jun 19, 2024
81ba3cf
created CD file
iamfrerot Jun 19, 2024
1efdf3c
implementation of orderStatus charts
Ismaelmurekezi Jun 23, 2024
bf8fecc
badge and some analytics components
Ismaelmurekezi Jun 26, 2024
0019272
Update setup.yml
Ismaelmurekezi Jun 26, 2024
ca3e2f6
Update setup.yml
Ismaelmurekezi Jun 26, 2024
c20a725
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
ded1eb6
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
0642238
Update setup.yml
Ismaelmurekezi Jun 26, 2024
56ae05e
Update setup.yml
Ismaelmurekezi Jun 26, 2024
709b264
Update setup.yml
Ismaelmurekezi Jun 26, 2024
b3377ac
Update setup.yml
Ismaelmurekezi Jun 26, 2024
2d88021
Update setup.yml
Ismaelmurekezi Jun 26, 2024
cb4825b
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
f414625
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
513cc4c
fixing bug
Ismaelmurekezi Jun 26, 2024
2be975f
testing badge percentage
Ismaelmurekezi Jun 26, 2024
830ee4d
Update README.md
Ismaelmurekezi Jun 26, 2024
0ebe8af
Update README.md
Ismaelmurekezi Jun 26, 2024
3cb3fbb
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
3fcb4a3
Update README.md
Ismaelmurekezi Jun 26, 2024
6d44bd6
Update README.md
Ismaelmurekezi Jun 26, 2024
59d0d6d
Update README.md
Ismaelmurekezi Jun 26, 2024
34492ba
Update README.md
Ismaelmurekezi Jun 26, 2024
691bd93
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
5e8e660
fixing badge
Ismaelmurekezi Jun 26, 2024
eb8ceb2
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
b776153
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
51dbcf0
Update README.md
Ismaelmurekezi Jun 26, 2024
29253c9
Update Check.test.tsx
Ismaelmurekezi Jun 26, 2024
7154f93
fix bug
Ismaelmurekezi Jun 26, 2024
73e55bc
fixing bugs
Ismaelmurekezi Jun 26, 2024
5af4da8
changing code cov
Ismaelmurekezi Jun 26, 2024
c92e74e
fixing arrangement of status
Ismaelmurekezi Jun 28, 2024
2e77298
--ammend
ManziPatrick Jul 2, 2024
fddc824
--ammend
ManziPatrick Jul 2, 2024
db0c896
add single product
ManziPatrick Jul 3, 2024
e5f88ab
add single product
ManziPatrick Jul 3, 2024
1b4fb87
add single product
ManziPatrick Jul 3, 2024
251fa02
update single page
ManziPatrick Jul 3, 2024
24d9bd6
fix-review
ManziPatrick Jul 3, 2024
78fc696
add single product
ManziPatrick Jul 3, 2024
1e857fc
changed to outfit font family
Philimuhire Jul 4, 2024
befd6ef
Merge branch 'ft-homepage' of https://github.com/atlp-rwanda/e-commer…
Philimuhire Jul 4, 2024
981fb36
solved conflicts
Philimuhire Jul 4, 2024
3145d14
intergrating admin dashboard with backend apis
Ismaelmurekezi Jul 5, 2024
31f3ab2
solving conflicts
Ismaelmurekezi Jul 5, 2024
bddc396
add ft-chat
sevelinCa Jul 5, 2024
92df00b
Remove conflicting file
ManziPatrick Jul 5, 2024
5db10fb
Add reviews.tsx to the correct location
ManziPatrick Jul 5, 2024
4652d17
Add skeleton
ManziPatrick Jul 5, 2024
555975c
skeleton
ManziPatrick Jul 5, 2024
015f8b6
Add skeleton
ManziPatrick Jul 5, 2024
5dc8131
darkmode implementation
Celestin25 Jul 5, 2024
3bea4b3
Update tailwind.config.js
Celestin25 Jul 5, 2024
43b86fa
added images
Philimuhire Jul 5, 2024
2a0aa80
logout will return to home
Philimuhire Jul 5, 2024
474b1a2
fetching user cart items and wishlists
Philimuhire Jul 5, 2024
0692264
modified the component to occupy h-screen
Philimuhire Jul 5, 2024
530bd0d
fetching user cart items and wishlists along with the profile picture
Philimuhire Jul 5, 2024
daef4ab
Merge branch 'friday-demo-fn-29-06' into ft-homepage
Philimuhire Jul 5, 2024
0ee80c1
finished Update user Info Functionality
iamfrerot Jul 5, 2024
b237ed2
add product details
uwituzeb Jul 1, 2024
f844b5a
redux the cart
Sng43 Jul 2, 2024
cacad0b
solved merge conflicts
Philimuhire Jul 2, 2024
2300296
solved merge conflicts
Philimuhire Jul 2, 2024
f76923c
removed unnecessary logs
Philimuhire Jun 29, 2024
475ec5b
solved merge conflicts
Philimuhire Jul 2, 2024
2f57fab
solved merge conflicts
Philimuhire Jul 2, 2024
16e9b4e
added responsiveness
Philimuhire Jul 2, 2024
4cf14cd
added responsiveness
Philimuhire Jul 2, 2024
bc48e25
Update ProductsPage
MnorbertVii Jul 2, 2024
47dddd7
updates
Jul 2, 2024
62e383e
updates on products page
MnorbertVii Jul 2, 2024
0b696dc
Adding Internationalization
Prince-Kid Jul 3, 2024
4b9d6c2
add forgot password ft
sevelinCa Jun 29, 2024
ccb7733
add form validation
sevelinCa Jul 2, 2024
9b6b07c
Add forgot password
sevelinCa Jul 3, 2024
85b4918
update index.tsx
MnorbertVii Jul 4, 2024
d8951ed
Internationalization
Prince-Kid Jul 5, 2024
6ac2084
send images ft
sevelinCa Jul 7, 2024
b2ef634
fixing single product page
Ismaelmurekezi Jul 7, 2024
7db5884
fix user id
ManziPatrick Jul 8, 2024
ab2e52f
finished Updating user Password
iamfrerot Jul 8, 2024
695b22b
ammend
ManziPatrick Jul 8, 2024
261f0fc
fix-stage
ManziPatrick Jul 8, 2024
bfdb2a0
Merge branch 'demo-fn-08-07' into ft-homepage
Philimuhire Jul 8, 2024
9da8df9
fix-hello
ManziPatrick Jul 8, 2024
1993da8
fx-aboutus
ManziPatrick Jul 8, 2024
20b6e81
fix-hello section
ManziPatrick Jul 8, 2024
498fbb1
solving single products page
Ismaelmurekezi Jul 8, 2024
2658e03
merging product page to demo branch
Ismaelmurekezi Jul 8, 2024
afffc7c
add caption to images
sevelinCa Jul 8, 2024
62cbf4c
Merge with current demo branch
sevelinCa Jul 8, 2024
8b63341
merging admin dashboard
Jul 8, 2024
8a54105
update order status
uwituzeb Jul 8, 2024
e55b0b6
add internalization on navbar
MnorbertVii Jul 8, 2024
d67071f
codes for 08-07 demo
Ismaelmurekezi Jul 8, 2024
0ec0de3
Merge branch 'ft-settings' into demo-fn-08-07
iamfrerot Jul 9, 2024
8f9df4f
Merge pull request #13 from atlp-rwanda/ft-update-order-status
Ismaelmurekezi Jul 9, 2024
68d6432
use correct endpoints
MnorbertVii Jul 9, 2024
1e082e6
add open image ft
sevelinCa Jul 9, 2024
041904b
create order component
uwituzeb Jul 9, 2024
476913d
Update Homepage_header.tsx
MnorbertVii Jul 10, 2024
becfe07
Merge branch 'develop' of https://github.com/atlp-rwanda/e-commerce-c…
MnorbertVii Jul 10, 2024
a9f5771
adjusted responsiveness
Philimuhire Jul 10, 2024
300082a
adjusted contact success message display
Philimuhire Jul 10, 2024
80202f2
solved conflicts
Philimuhire Jul 10, 2024
a587ff9
solved conflicts
Philimuhire Jul 10, 2024
e7dd788
solved conflicts
Philimuhire Jul 10, 2024
f91074e
added images
Philimuhire Jul 5, 2024
af92111
logout will return to home
Philimuhire Jul 5, 2024
b0088ac
solved conflicts
Philimuhire Jul 10, 2024
726fe1a
solved conflicts
Philimuhire Jul 10, 2024
f86e223
solved conflicts
Philimuhire Jul 10, 2024
fe829ef
solved conflicts
Philimuhire Jul 10, 2024
556767f
solved conflicts
Philimuhire Jul 10, 2024
aad3dce
solved conflicts
Philimuhire Jul 10, 2024
41ff606
solved conflicts
Philimuhire Jul 10, 2024
b9abdb3
solved conflicts
Philimuhire Jul 10, 2024
308b8e5
solved conflicts
Philimuhire Jul 10, 2024
0fe0d52
solved conflicts
Philimuhire Jul 10, 2024
7f08528
solved conflicts
Philimuhire Jul 10, 2024
71f5558
solved conflicts
Philimuhire Jul 10, 2024
97caef2
solved conflicts
Philimuhire Jul 10, 2024
0b04b07
orders component
uwituzeb Jul 11, 2024
9cd545e
solved conflicts
Philimuhire Jul 11, 2024
1e50e46
Merge pull request #16 from atlp-rwanda/ft-homepage
berniceu Jul 11, 2024
51ff399
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
uwituzeb Jul 11, 2024
6cc80ef
display unread messages
sevelinCa Jul 11, 2024
f127df4
merge with develop
sevelinCa Jul 11, 2024
6a2b95f
Merge branch 'demo-fn-12-07' into ft-chat
sevelinCa Jul 11, 2024
a90f815
Merge pull request #17 from atlp-rwanda/ft-chat
berniceu Jul 11, 2024
c6aa1b8
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
uwituzeb Jul 11, 2024
6855c8d
Added Ai Chatbot
mugabodannyshafi Jul 11, 2024
0981eab
Merge pull request #18 from atlp-rwanda/ft-AiChatbot
berniceu Jul 11, 2024
52aa256
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
uwituzeb Jul 11, 2024
c235899
finished request for being vendor
iamfrerot Jul 11, 2024
deb575f
Merge branch 'demo-fn-12-07' into ft-settings
iamfrerot Jul 11, 2024
1c7bc42
Merge branch 'demo-fn-12-07' into fix-productpage
berniceu Jul 11, 2024
850d8d5
Merge pull request #19 from atlp-rwanda/ft-settings
berniceu Jul 11, 2024
ef99bec
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
uwituzeb Jul 11, 2024
5e9c536
configure pusher
uwituzeb Jul 11, 2024
d12de10
fix wishlist
ManziPatrick Jul 11, 2024
0e81926
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
Jul 11, 2024
0cb6358
Merge pull request #22 from atlp-rwanda/ft-admin-board
berniceu Jul 11, 2024
2257e52
Merge branch 'demo-fn-12-07' into ft-dark-mode
Celestin25 Jul 11, 2024
1d9511e
Merge pull request #21 from atlp-rwanda/ft-dark-mode
berniceu Jul 11, 2024
0fb46bb
profile details
uwituzeb Jul 11, 2024
94f60f9
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
uwituzeb Jul 11, 2024
38652e6
vendor navigation
uwituzeb Jul 11, 2024
a9ce699
Merge pull request #23 from atlp-rwanda/fix-wishlist
berniceu Jul 11, 2024
12a3600
Merge branch 'demo-fn-12-07' into fix-wishlist
berniceu Jul 11, 2024
b613785
Merge pull request #24 from atlp-rwanda/fix-wishlist
berniceu Jul 11, 2024
496a9ef
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
Jul 11, 2024
4a7bc71
adding analytic components for seller
Ismaelmurekezi Jul 11, 2024
e7bff00
fix for changing admin password
Jul 11, 2024
76541fc
Update store.tsx
MnorbertVii Jul 11, 2024
1cb9712
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
MnorbertVii Jul 11, 2024
58a3d51
fixing issue for login
Ismaelmurekezi Jul 11, 2024
2440e09
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
MnorbertVii Jul 11, 2024
dd3df5e
Merge branch 'fix-productpage' of https://github.com/atlp-rwanda/e-co…
MnorbertVii Jul 11, 2024
332eca9
updates
MnorbertVii Jul 11, 2024
8da8027
update header
MnorbertVii Jul 12, 2024
c8c9a91
Merge pull request #26 from atlp-rwanda/fix-products-page
berniceu Jul 12, 2024
e5ad1ee
Merge pull request #25 from atlp-rwanda/ft-admin-dash-review
berniceu Jul 12, 2024
65f316e
change margin
uwituzeb Jul 12, 2024
af4bbf5
adding table to review analytics
Ismaelmurekezi Jul 12, 2024
da628ee
fix orders
uwituzeb Jul 12, 2024
02b4926
Merge pull request #28 from atlp-rwanda/ft-analytics-12
berniceu Jul 12, 2024
9f3a20f
information cards
Jul 13, 2024
25c1993
Merge branch 'admin-dashboard' of https://github.com/atlp-rwanda/e-co…
Jul 13, 2024
8a2d0bf
get seller orders
uwituzeb Jul 14, 2024
f32e758
Merge branch 'demo-fn-12-07' of https://github.com/atlp-rwanda/e-comm…
uwituzeb Jul 14, 2024
5bc2364
updates
MnorbertVii Jul 16, 2024
a2a61ad
Merge remote-tracking branch 'origin/demo-fn-19-07' into demo-fn-12-07
uwituzeb Jul 16, 2024
3456c12
fix conflicts
uwituzeb Jul 16, 2024
21a956a
add loaders for order tracking page
uwituzeb Jul 18, 2024
fce855c
fix conflicts
uwituzeb Jul 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Setup and coverage badge

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'


jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Packages
run: npm install

- name: Build
run: npm run build

test-and-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Packages
run: npm install

- name: Run Tests with Coverage
run: npm test -- --coverage

- name: List coverage directory
run: ls -la coverage

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}


8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
This repository is for multi-vendor E-commerce website

[![codecov](https://codecov.io/gh/atlp-rwanda/e-commerce-crafters-fn/branch/ft-analytics/graph/badge.svg?token=ZB2U3Q435X)](https://codecov.io/gh/atlp-rwanda/e-commerce-crafters-fn)





12 changes: 12 additions & 0 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1719411534857" clover="3.2.0">
<project timestamp="1719411534857" name="All files">
<metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1" elements="6" coveredelements="5" complexity="0" loc="3" ncloc="3" packages="1" files="1" classes="1"/>
<file name="Check.tsx" path="/home/ismael/e-commerce-crafters-fn/src/pages/Check.tsx">
<metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
<line num="3" count="1" type="stmt"/>
<line num="4" count="2" type="stmt"/>
<line num="6" count="2" type="stmt"/>
</file>
</project>
</coverage>
2 changes: 2 additions & 0 deletions coverage/coverage-final.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"/home/ismael/e-commerce-crafters-fn/src/pages/Check.tsx": {"path":"/home/ismael/e-commerce-crafters-fn/src/pages/Check.tsx","statementMap":{"0":{"start":{"line":3,"column":14},"end":{"line":18,"column":1}},"1":{"start":{"line":4,"column":36},"end":{"line":4,"column":51}},"2":{"start":{"line":6,"column":2},"end":{"line":17,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":3,"column":14},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":20},"end":{"line":18,"column":1}},"line":3}},"branchMap":{"0":{"loc":{"start":{"line":15,"column":7},"end":{"line":15,"column":44}},"type":"binary-expr","locations":[{"start":{"line":15,"column":7},"end":{"line":15,"column":16}},{"start":{"line":15,"column":20},"end":{"line":15,"column":44}}],"line":15}},"s":{"0":1,"1":2,"2":2},"f":{"0":2},"b":{"0":[2,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"f4fd7aef176069564e1f9661c4424964c5c13b81"}
}
145 changes: 145 additions & 0 deletions coverage/lcov-report/Check.tsx.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@

<!doctype html>
<html lang="en">

<head>
<title>Code coverage report for Check.tsx</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" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
}
</style>
</head>

<body>
<div class='wrapper'>
<div class='pad1'>
<h1><a href="index.html">All files</a> Check.tsx</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>3/3</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">50% </span>
<span class="quiet">Branches</span>
<span class='fraction'>1/2</span>
</div>


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


<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>3/3</span>
</div>


</div>
<p class="quiet">
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
</p>
<template id="filterTemplate">
<div class="quiet">
Filter:
<input type="search" id="fileSearch">
</div>
</template>
</div>
<div class='status-line high'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
<a name='L2'></a><a href='#L2'>2</a>
<a name='L3'></a><a href='#L3'>3</a>
<a name='L4'></a><a href='#L4'>4</a>
<a name='L5'></a><a href='#L5'>5</a>
<a name='L6'></a><a href='#L6'>6</a>
<a name='L7'></a><a href='#L7'>7</a>
<a name='L8'></a><a href='#L8'>8</a>
<a name='L9'></a><a href='#L9'>9</a>
<a name='L10'></a><a href='#L10'>10</a>
<a name='L11'></a><a href='#L11'>11</a>
<a name='L12'></a><a href='#L12'>12</a>
<a name='L13'></a><a href='#L13'>13</a>
<a name='L14'></a><a href='#L14'>14</a>
<a name='L15'></a><a href='#L15'>15</a>
<a name='L16'></a><a href='#L16'>16</a>
<a name='L17'></a><a href='#L17'>17</a>
<a name='L18'></a><a href='#L18'>18</a>
<a name='L19'></a><a href='#L19'>19</a>
<a name='L20'></a><a href='#L20'>20</a>
<a name='L21'></a><a href='#L21'>21</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import React, { useState } from "react";
&nbsp;
const Check = () =&gt; {
const [showExtra, setShowExtra] = useState(false);
&nbsp;
return (
&lt;div className="flex flex-col items-start font-poppins text-sm"&gt;
&lt;h1 className="text-gray-800"&gt;
If you want to part of the program click button below
&lt;/h1&gt;
&lt;button className="py-2 px-7 ml-10 mt-5 bg-purple-700 text-white rounded-md hover:bg-purple-500"&gt;
Confirm
&lt;/button&gt;
&lt;h1&gt;hello there&lt;/h1&gt;
{showExtra &amp;&amp; <span class="branch-1 cbranch-no" title="branch not covered" >&lt;h2&gt;You are welcome&lt;/h2&gt;}</span>
&lt;/div&gt;
);
};
&nbsp;
export default Check;
&nbsp;</pre></td></tr></table></pre>

<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-06-26T14:18:54.854Z
</div>
<script src="prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
</body>
</html>

124 changes: 124 additions & 0 deletions coverage/lcov-report/Test.tsx.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@

<!doctype html>
<html lang="en">

<head>
<title>Code coverage report for Test.tsx</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" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
}
</style>
</head>

<body>
<div class='wrapper'>
<div class='pad1'>
<h1><a href="index.html">All files</a> Test.tsx</h1>
<div class='clearfix'>

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


<div class='fl pad1y space-right2'>
<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">0% </span>
<span class="quiet">Functions</span>
<span class='fraction'>0/1</span>
</div>


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


</div>
<p class="quiet">
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
</p>
<template id="filterTemplate">
<div class="quiet">
Filter:
<input type="search" id="fileSearch">
</div>
</template>
</div>
<div class='status-line medium'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
<a name='L2'></a><a href='#L2'>2</a>
<a name='L3'></a><a href='#L3'>3</a>
<a name='L4'></a><a href='#L4'>4</a>
<a name='L5'></a><a href='#L5'>5</a>
<a name='L6'></a><a href='#L6'>6</a>
<a name='L7'></a><a href='#L7'>7</a>
<a name='L8'></a><a href='#L8'>8</a>
<a name='L9'></a><a href='#L9'>9</a>
<a name='L10'></a><a href='#L10'>10</a>
<a name='L11'></a><a href='#L11'>11</a>
<a name='L12'></a><a href='#L12'>12</a>
<a name='L13'></a><a href='#L13'>13</a>
<a name='L14'></a><a href='#L14'>14</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react'
&nbsp;
const Test = <span class="fstat-no" title="function not covered" >()</span> =&gt; {
<span class="cstat-no" title="statement not covered" > return (</span>
&lt;div className="flex flex-col items-start font-poppins text-sm"&gt;
&lt;h1 className="text-gray-800"&gt;
If you want to part of the program click button below
&lt;/h1&gt;
&lt;button className=' py-2 px-7 ml-10 mt-5 bg-purple-700 text-white rounded-md hover:bg-purple-500'&gt;Confirm&lt;/button&gt;
&lt;/div&gt;
);
}
&nbsp;
export default Test</pre></td></tr></table></pre>

<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-06-25T13:01:25.786Z
</div>
<script src="prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
</body>
</html>

Loading
Loading