From 57ebc415619ad613fce820038e519882edeabf04 Mon Sep 17 00:00:00 2001
From: deveshsangwan <dev.sangwan2001@gmail.com>
Date: Sat, 27 Jan 2024 21:45:06 +0530
Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=94=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .github/workflows/test.yml   | 1 +
 unitTest/LiveMatches.test.ts | 1 +
 unitTest/MatchStats.test.ts  | 3 ++-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index f8ae6c3..e4523a3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -28,4 +28,5 @@ jobs:
         run: |
           git config --local user.email "action@github.com"
           git config --local user.name "GitHub Action"
+          git add README.md
           git commit -m "Update coverage badge" -a
diff --git a/unitTest/LiveMatches.test.ts b/unitTest/LiveMatches.test.ts
index 5de53f9..a8df560 100644
--- a/unitTest/LiveMatches.test.ts
+++ b/unitTest/LiveMatches.test.ts
@@ -9,6 +9,7 @@ chai.use(chaiHttp);
 
 describe('LiveMatches API', function () {
     it('should GET all the live matches', function (done) {
+        this.timeout(20000);
         chai.request(server)
             .get('/live') // adjust this path to your API endpoint
             .end(function (err, res) {
diff --git a/unitTest/MatchStats.test.ts b/unitTest/MatchStats.test.ts
index 7be20d0..f2fcaf7 100644
--- a/unitTest/MatchStats.test.ts
+++ b/unitTest/MatchStats.test.ts
@@ -18,6 +18,7 @@ function assertResultSubset(result, expectedOutput) {
 
 describe('MatchStats API', function () {
     it('should GET a specific match by id', async function () {
+        this.timeout(20000);
         const id = 'nLSAYi2BckuKRVA8'; // replace with a valid match id
     
         try {
@@ -29,7 +30,7 @@ describe('MatchStats API', function () {
     });
 
     it('should GET stats of all the live matches', async function () {
-        this.timeout(10000);
+        this.timeout(20000);
         try {
             const body = await apiCall(`/live1`);
             assert.equal(body.status, true);