Skip to content

Commit

Permalink
Uppdated workflow, will hopefully resolve Jasmine issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorsCodingCorner committed Oct 29, 2024
1 parent 1a1738e commit 881fa81
Show file tree
Hide file tree
Showing 36 changed files with 664 additions and 38 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:

- name: Install dependencies
run: npm install

- name: Install Jasmine
run: npm install jasmine --save-dev

- name: Initialize Jasmine
run: npx jasmine init

- name: Run tests with coverage
run: npm run test:coverage
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":null,"pid":23372,"argv":["C:\\Users\\VChici\\.nvm\\versions\\node\\v20.16.0\\bin\\node.exe","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\node_modules\\nyc\\bin\\nyc.js","jasmine"],"execArgv":[],"cwd":"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3","time":1730192004005,"ppid":25536,"coverageFilename":"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\.nyc_output\\208ddca5-e9a2-4049-8365-26af0f801901.json","externalId":"","uuid":"208ddca5-e9a2-4049-8365-26af0f801901","files":["C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\auth.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\cohort.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\deliveryLog.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\post.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\user.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\domain\\cohort.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\domain\\user.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\index.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\middleware\\auth.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\auth.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\cohort.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\deliveryLog.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\post.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\user.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\server.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\config.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\dbClient.js","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\responses.js"]}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":null,"pid":27552,"argv":["C:\\Users\\VChici\\.nvm\\versions\\node\\v20.16.0\\bin\\node.exe","C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\node_modules\\jasmine\\bin\\jasmine.js"],"execArgv":[],"cwd":"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3","time":1730192004823,"ppid":18136,"coverageFilename":"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\.nyc_output\\a8f17b12-4726-419f-aaf6-4f75580ca305.json","externalId":"","uuid":"a8f17b12-4726-419f-aaf6-4f75580ca305","files":[]}

This file was deleted.

2 changes: 1 addition & 1 deletion .nyc_output/processinfo/index.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"processes":{"8bf1fc23-be44-4df7-b008-bc719524f76b":{"parent":null,"children":[]},"fd75e151-a57c-410c-8dac-00cf31743de9":{"parent":null,"children":[]}},"files":{"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\auth.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\cohort.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\deliveryLog.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\post.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\user.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\domain\\cohort.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\domain\\user.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\index.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\middleware\\auth.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\auth.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\cohort.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\deliveryLog.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\post.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\user.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\server.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\config.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\dbClient.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\responses.js":["8bf1fc23-be44-4df7-b008-bc719524f76b"]},"externalIds":{}}
{"processes":{"208ddca5-e9a2-4049-8365-26af0f801901":{"parent":null,"children":[]},"a8f17b12-4726-419f-aaf6-4f75580ca305":{"parent":null,"children":[]}},"files":{"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\auth.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\cohort.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\deliveryLog.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\post.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\controllers\\user.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\domain\\cohort.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\domain\\user.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\index.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\middleware\\auth.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\auth.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\cohort.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\deliveryLog.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\post.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\routes\\user.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\server.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\config.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\dbClient.js":["208ddca5-e9a2-4049-8365-26af0f801901"],"C:\\Users\\VChici\\Desktop\\Project\\team-dev-server-ex-2410-team3\\src\\utils\\responses.js":["208ddca5-e9a2-4049-8365-26af0f801901"]},"externalIds":{}}
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/controllers/auth.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/controllers/cohort.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/controllers/deliveryLog.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/controllers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h1><a href="../../index.html">All files</a> src/controllers</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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/controllers/post.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/controllers/user.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/domain/cohort.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/domain</
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/domain/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> src/domain</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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/domain/user.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/domain</
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/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> src</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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/index.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">src</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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/middleware/auth.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/middlewa
<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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/middleware/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> src/middleware</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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/routes/auth.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/routes/cohort.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/routes/deliveryLog.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/routes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h1><a href="../../index.html">All files</a> src/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-10-29T08:11:37.441Z
at 2024-10-29T08:53:25.248Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 881fa81

Please sign in to comment.