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

Fix product #91

Open
wants to merge 269 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
54aecdd
Merge branch 'friday-demo-31-05' into ft-review
sevelinCa Jun 3, 2024
dc0282a
fix .env example
sevelinCa Jun 3, 2024
e742a9c
Merge branch 'ft-review' of https://github.com/atlp-rwanda/e-commerce…
sevelinCa Jun 3, 2024
1891838
fix .env example
sevelinCa Jun 3, 2024
85903d1
Merge pull request #40 from atlp-rwanda/ft-review
sevelinCa Jun 3, 2024
27c1ebc
change to http server
uwituzeb Jun 3, 2024
e5e0d09
fix review
sevelinCa Jun 3, 2024
4d3a14a
Merge pull request #41 from atlp-rwanda/ft-review
sevelinCa Jun 3, 2024
28dbb97
cron add in package.json
Celestin25 Jun 3, 2024
81c1d1f
Merge branch 'friday-demo-31-05' of https://github.com/atlp-rwanda/e-…
Celestin25 Jun 3, 2024
40fb6f7
change to http server
berniceu Jun 3, 2024
c7c37ba
sprint 3 almost is completed
Celestin25 Jun 3, 2024
ca7dce0
Merge branch 'friday-demo-31-05' into ft-get-update-status
sevelinCa Jun 3, 2024
dfdc37b
Merge pull request #42 from atlp-rwanda/ft-get-update-status
sevelinCa Jun 3, 2024
37971f0
Revert "change to http server"
Celestin25 Jun 3, 2024
6166289
Merge pull request #43 from atlp-rwanda/revert-42-ft-get-update-status
Celestin25 Jun 3, 2024
1294bfc
get status and update
uwituzeb Jun 3, 2024
46a4dbe
Merge branch 'friday-demo-31-05' of https://github.com/atlp-rwanda/e-…
uwituzeb Jun 3, 2024
7412b59
change date only when processing
uwituzeb Jun 3, 2024
1bd8da1
Merge branch 'friday-demo-31-05' of https://github.com/atlp-rwanda/e-…
Celestin25 Jun 3, 2024
6883313
worked on 2fa
MnorbertVii Jun 3, 2024
3404a5e
enabled automatic login after verifying 2fa code
MnorbertVii Jun 3, 2024
94dccdc
Merge pull request #44 from atlp-rwanda/ft-2fa
Celestin25 Jun 4, 2024
298ad7b
Added checkExpirng Products On index.ts/app and it's Node Cron
iamfrerot Jun 4, 2024
dfc3c74
Merge branch 'friday-demo-31-05' into ft-expired
iamfrerot Jun 4, 2024
f1cd4d7
Merge branch 'friday-demo-31-05' into ft-update-order
sevelinCa Jun 4, 2024
fbb8046
Merge pull request #49 from atlp-rwanda/ft-update-order
sevelinCa Jun 4, 2024
2d638c4
Update order.route.ts
sevelinCa Jun 4, 2024
be5e6e3
Update order.route.ts
sevelinCa Jun 4, 2024
90559d1
Update orderController.ts
sevelinCa Jun 4, 2024
cb7ecb8
Add documentation and test
sevelinCa Jun 6, 2024
e46bfe4
Update index.ts
sevelinCa Jun 6, 2024
50c9dac
Add documentation and test
sevelinCa Jun 6, 2024
3eba273
Add documentation and test
sevelinCa Jun 6, 2024
b58f0ef
Add documentation and test
sevelinCa Jun 6, 2024
36d786a
Add documentation and test
sevelinCa Jun 6, 2024
ea0bff6
Add documentation and test
sevelinCa Jun 6, 2024
02d3e48
Add documentation and test
sevelinCa Jun 6, 2024
7969119
Add documentation and test
sevelinCa Jun 6, 2024
293a65a
Add documentation and test
sevelinCa Jun 6, 2024
4f8a9c7
Update node.js.yml
sevelinCa Jun 6, 2024
76a53b5
Fix server already running
sevelinCa Jun 6, 2024
6fb5cb6
Merge branch 'ft-review' of https://github.com/atlp-rwanda/e-commerce…
sevelinCa Jun 6, 2024
be2bbfa
Update node.js.yml
sevelinCa Jun 6, 2024
d5a4e13
Update node.js.yml
sevelinCa Jun 7, 2024
1f9b05b
Readme file created
Lapidis2 May 12, 2024
06b4864
readme modified
Lapidis2 May 14, 2024
f7be4d6
removed console logs used for debugging
May 22, 2024
e386364
Fix server already running
sevelinCa Jun 7, 2024
a8ba023
Merge branch 'ft-review' of https://github.com/atlp-rwanda/e-commerce…
sevelinCa Jun 7, 2024
fb73932
fix port already running
sevelinCa Jun 7, 2024
a21bf87
fix port already running
sevelinCa Jun 7, 2024
a333665
fix port already running
sevelinCa Jun 7, 2024
a82b7ea
fix port already running
sevelinCa Jun 7, 2024
2c4dcd9
Add product tests
sevelinCa Jun 7, 2024
d2eb5f7
Roles Test and swagger Documentation
Prince-Kid Jun 7, 2024
81e52a9
Merge branch 'friday-demo-31-05' into ft-setting-roles
Prince-Kid Jun 7, 2024
336ea70
Swagger Documentation For Updating Cart
Prince-Kid Jun 7, 2024
a42e7e8
Merge pull request #52 from atlp-rwanda/ft-setting-roles
Prince-Kid Jun 7, 2024
005e1f7
Update index.ts
sevelinCa Jun 7, 2024
4bb8a0a
Update expiring.test.ts
sevelinCa Jun 7, 2024
030ba56
Update jest.config.js
sevelinCa Jun 7, 2024
8317c7b
subscription documentation
Jun 7, 2024
a629178
notification documentation
Jun 7, 2024
c93f0c7
update vendor documentation
Jun 7, 2024
e8e32e8
update user information and password documentation
Jun 7, 2024
6fd6e97
Finished Tests for Checking Expired And Expiring
iamfrerot Jun 7, 2024
5433640
Merge branch 'friday-demo-31-05' into ft-expired
iamfrerot Jun 7, 2024
3225c23
user tests
Jun 8, 2024
75e5218
vendor update tests and subscribe tests
Jun 8, 2024
dec6b26
add review swagger
sevelinCa Jun 8, 2024
5954967
Resolve Confilct
sevelinCa Jun 8, 2024
26702a1
resolve conflict
sevelinCa Jun 8, 2024
d919715
resolve conflict
sevelinCa Jun 8, 2024
8fba991
resolve conflict
sevelinCa Jun 8, 2024
1b557d9
resolve conflict
sevelinCa Jun 8, 2024
db235d9
resolve conflict
sevelinCa Jun 8, 2024
cdb9164
add product test
sevelinCa Jun 9, 2024
d9ab5ae
update products test
sevelinCa Jun 9, 2024
22ccbb6
update product test fix 401 status
sevelinCa Jun 9, 2024
c3e3e77
notification tests
Jun 9, 2024
932dc73
removed console.error
Jun 9, 2024
2c323c5
add tests
Philimuhire Jun 9, 2024
53bf318
add swagger documentation
Philimuhire Jun 9, 2024
5b714d9
add tests
Philimuhire Jun 9, 2024
ddf2095
solved conflicts
Philimuhire Jun 9, 2024
0d955ad
update comments
ManziPatrick Jun 7, 2024
a6c6dfb
rebase cart
ManziPatrick Jun 9, 2024
9cbccf7
added tests & docs for user reg, vendor req, and checkout
mugabodannyshafi Jun 9, 2024
a79e346
solved a bug in checkout test
mugabodannyshafi Jun 10, 2024
7af85b6
solved a bug in checkout test
mugabodannyshafi Jun 10, 2024
25031a2
Test for some apis of user,vendor.order
Ismaelmurekezi Jun 10, 2024
c7a8551
solved a bug in checkout test
mugabodannyshafi Jun 10, 2024
da29ee1
solved a bug in checkout test
mugabodannyshafi Jun 10, 2024
ac129e7
test for add item to cart and reset password
Celestin25 Jun 10, 2024
9098711
solved tests
mugabodannyshafi Jun 10, 2024
d8bb2ec
solved a bug checkout tests
mugabodannyshafi Jun 10, 2024
8c0e9d5
solved tests
mugabodannyshafi Jun 10, 2024
385ff78
Merge pull request #63 from atlp-rwanda/ft-reset-cart-test
Celestin25 Jun 10, 2024
b0b788f
Merge branch 'friday-demo-31-05' into ft-review
sevelinCa Jun 10, 2024
21b55d9
Merge pull request #54 from atlp-rwanda/ft-review
Celestin25 Jun 10, 2024
2bfe81e
Merge branch 'friday-demo-31-05' into ft-expired
Celestin25 Jun 10, 2024
fd18920
Update createServer.ts
Celestin25 Jun 10, 2024
33c958c
Update createServer.ts
Celestin25 Jun 10, 2024
821d3da
Update expiring.ts
Celestin25 Jun 10, 2024
6119fdc
Update index.ts
Celestin25 Jun 10, 2024
5c97559
Update index.ts
Celestin25 Jun 10, 2024
e130933
Merge pull request #53 from atlp-rwanda/ft-expired
Celestin25 Jun 10, 2024
5365c87
Merge branch 'friday-demo-31-05' into ft-tests-ch
Celestin25 Jun 10, 2024
d808bf3
Merge pull request #55 from atlp-rwanda/ft-tests-ch
Celestin25 Jun 10, 2024
f540cef
Merge branch 'friday-demo-31-05' into ft-register-checkout-tests
Celestin25 Jun 10, 2024
b10e6d1
Merge pull request #58 from atlp-rwanda/ft-register-checkout-tests
Celestin25 Jun 10, 2024
971d396
add swagger docs for user authentication
MnorbertVii Jun 6, 2024
b8aceca
add swagger docs for user signup and login
MnorbertVii Jun 6, 2024
92a84de
work on google and 2fa controllers testing
MnorbertVii Jun 7, 2024
e802bcf
remove conflict to cart
ManziPatrick Jun 7, 2024
0e67789
rebase cart and user
ManziPatrick Jun 9, 2024
5368c90
ammend
MnorbertVii Jun 7, 2024
37c7aea
work on googleAuth and 2fa tests
MnorbertVii Jun 10, 2024
f037dec
mend
ManziPatrick Jun 10, 2024
5061e64
Merge pull request #50 from atlp-rwanda/friday-demo-31-05
David-Neza Jun 10, 2024
0ae47f5
Merge branch 'friday-demo-31-05' into ft-update-order
Ismaelmurekezi Jun 10, 2024
314c329
Update package.json
Ismaelmurekezi Jun 10, 2024
a1f08c7
Update user.test.ts
Ismaelmurekezi Jun 10, 2024
dc9d88e
Update vendor.test.ts
Ismaelmurekezi Jun 10, 2024
b027546
Update orderController.ts
Ismaelmurekezi Jun 10, 2024
6f1fae5
Update user.route.ts
Ismaelmurekezi Jun 10, 2024
3a26427
Update vendor.route.ts
Ismaelmurekezi Jun 10, 2024
03f2b6f
Update vendor.test.ts
Ismaelmurekezi Jun 10, 2024
14a9079
Update vendor.test.ts
Ismaelmurekezi Jun 10, 2024
45e209b
Merge pull request #62 from atlp-rwanda/ft-2fa
Celestin25 Jun 10, 2024
0873624
Merge pull request #57 from atlp-rwanda/ft-cart-test
Celestin25 Jun 10, 2024
d7ccea4
Update order.test.ts
Ismaelmurekezi Jun 10, 2024
51c4d7c
Update order.test.ts
Ismaelmurekezi Jun 10, 2024
9bd40e3
Update jest.config.js
Ismaelmurekezi Jun 10, 2024
ed4aba3
fixing tests
Ismaelmurekezi Jun 10, 2024
a32bf42
Merge branch 'friday-demo-31-05' into ft-update-order
Ismaelmurekezi Jun 10, 2024
af4c1e3
Delete src/__test__/googleAuth.test.ts
Ismaelmurekezi Jun 10, 2024
bdefc9b
Swagger Documentation For Updating Cart
Prince-Kid Jun 7, 2024
4096d91
Adding Swagger Documentation fpr update cart
Prince-Kid Jun 10, 2024
66a5834
Update index.ts
sevelinCa Jun 10, 2024
ad5c2aa
Merge branch 'friday-demo-31-05' into ft-update-cart
Celestin25 Jun 10, 2024
b1d32f3
Merge branch 'friday-demo-31-05' into ft-update-order
Celestin25 Jun 10, 2024
4360782
Merge pull request #64 from atlp-rwanda/ft-update-order
Celestin25 Jun 10, 2024
decc9d2
update, delete and status update tests
uwituzeb Jun 10, 2024
3c9eb0b
Fx update cart swagger
Prince-Kid Jun 10, 2024
0662b70
Merge branch 'friday-demo-31-05' into ft-update-cart
Prince-Kid Jun 10, 2024
09e0cfb
fix tests
uwituzeb Jun 10, 2024
85bcb85
Merge pull request #67 from atlp-rwanda/ft-update-cart
Celestin25 Jun 10, 2024
4e8ca93
Update orderstatus.test.ts
berniceu Jun 10, 2024
59eee1e
fix tests
uwituzeb Jun 11, 2024
dff9213
fix test error
uwituzeb Jun 11, 2024
e13e13f
fix test errors
uwituzeb Jun 11, 2024
b844acf
updated tags
Jun 11, 2024
7f73be3
Merge pull request #71 from atlp-rwanda/ft-orderstatus-test
Celestin25 Jun 11, 2024
e63808b
Merge pull request #70 from atlp-rwanda/friday-demo-31-05
David-Neza Jun 11, 2024
83f04db
solved tests
Philimuhire Jun 11, 2024
b499392
solved tests
Philimuhire Jun 11, 2024
2ed1e2b
solved tests
Philimuhire Jun 11, 2024
d5d0e9c
fixed packages
iamfrerot Jun 11, 2024
b424afd
solved tests
Philimuhire Jun 11, 2024
68c8e5a
solved tests
Philimuhire Jun 12, 2024
2345a76
Added Jest/Moch Types
iamfrerot Jun 12, 2024
59441ff
readd recenty removed files
MnorbertVii Jun 12, 2024
d165287
added dialectOptions on test and production
iamfrerot Jun 12, 2024
6c21acc
Merge pull request #76 from atlp-rwanda/ft-2fa
iamfrerot Jun 12, 2024
333f756
Merge branch 'backend-final' of github.com:atlp-rwanda/e-commerce-cra…
iamfrerot Jun 12, 2024
48e8608
solved conflicts
Philimuhire Jun 12, 2024
b5df4b6
fixed the Expiring Test
iamfrerot Jun 12, 2024
742752c
solved conflicts
Philimuhire Jun 12, 2024
772771e
solved conflicts
Philimuhire Jun 12, 2024
7310edd
Merge branch 'backend-final' into ft-read-product
Philimuhire Jun 12, 2024
caadb93
solved conflicts
Philimuhire Jun 12, 2024
b3bb185
solved conflicts
Philimuhire Jun 12, 2024
9c25b9d
solved conflicts
Philimuhire Jun 12, 2024
4cc412c
allowed partial searching
Philimuhire Jun 12, 2024
15dd238
add to wishlist swagger
Sng43 Jun 12, 2024
1856fa3
1st Check Documentation
iamfrerot Jun 12, 2024
815ac75
Merge branch 'backend-final' of github.com:atlp-rwanda/e-commerce-cra…
iamfrerot Jun 12, 2024
11fa5d4
Merge pull request #74 from atlp-rwanda/ft-read-product
iamfrerot Jun 12, 2024
b8a5cb7
update user.controller.ts
MnorbertVii Jun 12, 2024
83047aa
adding missing swagger api for user
Ismaelmurekezi Jun 12, 2024
f288983
Restored Tests
iamfrerot Jun 12, 2024
fb0bb84
Merge pull request #79 from atlp-rwanda/ft-update-order
iamfrerot Jun 12, 2024
9e0210b
fixed cart.test
iamfrerot Jun 12, 2024
57e97c9
Fixed The User.swagger
iamfrerot Jun 12, 2024
23e25e7
fixed The googleAuth Test
iamfrerot Jun 12, 2024
0173b3f
solved conflicts
Philimuhire Jun 10, 2024
fc52f61
added routes protection
Philimuhire Jun 10, 2024
81a6fea
Resolved merge conflicts between ft-authorization-routes-protection a…
Philimuhire Jun 4, 2024
f5dde6e
solved conflicts
Philimuhire Jun 10, 2024
cfa654b
solved conflicts
Philimuhire Jun 10, 2024
72426d9
solved conflicts
Philimuhire Jun 10, 2024
6c085e6
added routes protection
Philimuhire Jun 10, 2024
0da53fa
solved conflicts
Philimuhire Jun 10, 2024
56f2f32
solved conflicts
Philimuhire Jun 10, 2024
15ebba9
solved conflicts
Philimuhire Jun 12, 2024
b7c46ad
solved conflicts
Philimuhire Jun 11, 2024
85a6686
solved conflicts
Philimuhire Jun 11, 2024
56593a6
solved conflicts
Philimuhire Jun 11, 2024
6f4f38f
solved conflicts
Philimuhire Jun 11, 2024
01d0557
solved conflicts
Philimuhire Jun 12, 2024
3049d05
resolved conflicts
Philimuhire Jun 12, 2024
5ea51a5
solved conflicts
Philimuhire Jun 10, 2024
6336972
solved conflicts
Philimuhire Jun 10, 2024
5161716
solved conflicts
Philimuhire Jun 10, 2024
c351845
solved conflicts
Philimuhire Jun 10, 2024
2fcb8fc
solved conflicts
Philimuhire Jun 12, 2024
34ae86c
solved conflicts
Philimuhire Jun 12, 2024
039e6cb
solved conflicts
Philimuhire Jun 11, 2024
f431fa4
solved conflicts
Philimuhire Jun 12, 2024
032b7ae
solved conflicts
Philimuhire Jun 12, 2024
0edb336
Adding Sales Report controllers and Swagger Documentation
Prince-Kid Jun 13, 2024
c07d3cf
Merge branch 'backend-final' into ft-Sales-report-and-statistics
Prince-Kid Jun 13, 2024
f16f499
Merge pull request #81 from atlp-rwanda/ft-Sales-report-and-statistics
iamfrerot Jun 16, 2024
3ab45da
Merge branch 'backend-final' into ft-authorization-routes-protection
iamfrerot Jun 16, 2024
2957698
Merge pull request #72 from atlp-rwanda/ft-authorization-routes-prote…
iamfrerot Jun 16, 2024
4dd5169
Finished payment ft
sevelinCa Jun 16, 2024
94f2444
Merge branch 'backend-final' into ft-payment
sevelinCa Jun 16, 2024
3946568
Merge pull request #82 from atlp-rwanda/ft-payment
iamfrerot Jun 16, 2024
6c23924
Added The hosted Link
iamfrerot Jun 16, 2024
c3efa1e
Merge branch 'backend-final' of github.com:atlp-rwanda/e-commerce-cra…
iamfrerot Jun 16, 2024
356ff4e
adding features to update order
Ismaelmurekezi Jun 16, 2024
8cc4532
fixing conflict
Ismaelmurekezi Jun 16, 2024
91c4757
Merge pull request #84 from atlp-rwanda/ft-update-order
iamfrerot Jun 16, 2024
cc42720
Revert "Backend final"
iamfrerot Jun 16, 2024
6b2206d
Merge pull request #87 from atlp-rwanda/ft-update-order
iamfrerot Jun 16, 2024
0e1a428
Merge pull request #86 from atlp-rwanda/revert-83-backend-final
iamfrerot Jun 16, 2024
b5e75c5
add pusher setup
uwituzeb Jun 17, 2024
74f7869
Merge pull request #89 from atlp-rwanda/ft-pusher
iamfrerot Jun 17, 2024
af44ee5
add email verfication ft
sevelinCa Jun 18, 2024
22cc7b6
Merge branch 'ft-add-verification' into backend-final
sevelinCa Jun 18, 2024
40af9af
Merge branch 'ft-add-verification' into backend-final
sevelinCa Jun 18, 2024
3490098
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 18, 2024
65e6014
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 18, 2024
41d0ebb
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 18, 2024
555f833
Merge branch 'develop' into backend-final
iamfrerot Jun 19, 2024
3f287f8
add cors origin
sevelinCa Jun 20, 2024
5811cfd
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
660b394
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
a26dd44
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
3e840ac
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
77c6a16
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
9ddf605
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
903c692
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
3339857
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 20, 2024
f4a848f
Merge branch 'backend-final' of https://github.com/atlp-rwanda/e-comm…
sevelinCa Jun 21, 2024
653feeb
mend
ManziPatrick Jun 27, 2024
62f19b1
mend
ManziPatrick Jul 1, 2024
71850d1
modify wishlist ,product and review
ManziPatrick Jul 3, 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
Binary file added .DS_Store
Binary file not shown.
7 changes: 5 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
PORT: 5000
MODE: development
DATABASE_DEVELOPMENT_URL:
NODE_ENV: development
HOST_MODE: local
DATABASE_DEVELOPMENT_URL: LOCAL DB URL
DATABASE_TEST_URL: DB_URL
DATABASE_PRODUCTION_URL: DB_URL
GOOGLE_CLIENT_ID: YOUR_GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET: YOUR_GOOGLE_CLIENT_SECRET
GOOGLE_CALLBACK_URL: YOUR_GOOGLE_CALLBACK_URL
EMAIL: our email
EMAIL_PASS: our email pass
4 changes: 3 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
GOOGLE_CALLBACK_URL: ${{ secrets.GOOGLE_CALLBACK_URL }}
MODE: ${{ secrets.HOST_MODE }}
HOST_MODE: remote
NODE_ENV: test

steps:
- uses: actions/checkout@v4
Expand All @@ -35,6 +36,7 @@ jobs:
echo "DATABASE_TEST_URL=$DATABASE_TEST_URL"
echo "GOOGLE_CALLBACK_URL=$GOOGLE_CALLBACK_URL"
echo "GOOGLE_CALLBACK_ID=$GOOGLE_CLIENT_ID"
echo "NODE_ENV=$NODE_ENV"


- name: Run tests
Expand Down
9 changes: 6 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
setupFilesAfterEnv: ['./jest.config.js'] // Assuming the setup file is called jest.setup.js
preset: "ts-jest",
testEnvironment: "node",
setupFilesAfterEnv: ["./jest.config.js"],
verbose: true,
forceExit: true,
clearMocks: true
};
Loading
Loading