Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderGi committed Nov 18, 2023
1 parent 857d53b commit 6716ffb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ node_modules
.DS_Store
.env
.firebase
package-lock.json
package-lock.json
test.log
38 changes: 19 additions & 19 deletions tap.info
Original file line number Diff line number Diff line change
Expand Up @@ -5,97 +5,97 @@ TAP version 13
# Subtest: Should return a 404 when route is invalid
ok 1 - Should return a 404 when route is invalid
---
duration_ms: 14.965625
duration_ms: 23.204792
...
1..1
ok 1 - General Functionality
---
duration_ms: 15.354958
duration_ms: 23.739375
type: 'suite'
...
# Subtest: Database
# Subtest: Should not return a value when asyncRun called
ok 1 - Should not return a value when asyncRun called
---
duration_ms: 3.608542
duration_ms: 7.534083
...
# Subtest: Should return a value when asyncGet called
ok 2 - Should return a value when asyncGet called
---
duration_ms: 1.37875
duration_ms: 1.726666
...
# Subtest: Should return the rowid when asyncRunWithID called
ok 3 - Should return the rowid when asyncRunWithID called
---
duration_ms: 1.44575
duration_ms: 1.493917
...
# Subtest: Should return the number of rows changed when asyncRunWithChanges called
ok 4 - Should return the number of rows changed when asyncRunWithChanges called
---
duration_ms: 1.57175
duration_ms: 1.713083
...
# Subtest: Should get all the correct rows when asyncAll called
ok 5 - Should get all the correct rows when asyncAll called
---
duration_ms: 1.365417
duration_ms: 1.839833
...
1..5
ok 2 - Database
---
duration_ms: 9.604334
duration_ms: 14.5935
type: 'suite'
...
# Subtest: Authentication
# Subtest: Should return 400 Invalid Input when no token is provided
ok 1 - Should return 400 Invalid Input when no token is provided
---
duration_ms: 4.44
duration_ms: 6.05975
...
# Subtest: Should return 401 Unauthorized when an invalid token is provided
ok 2 - Should return 401 Unauthorized when an invalid token is provided
---
duration_ms: 38.318583
duration_ms: 93.881084
...
# Subtest: Should return 401 Unauthorized when a valid but expired token is provided
ok 3 - Should return 401 Unauthorized when a valid but expired token is provided
---
duration_ms: 51.891167
duration_ms: 71.946042
...
# Subtest: Should return 200 OK and the correct userid when a valid token is provided
ok 4 - Should return 200 OK and the correct userid when a valid token is provided
---
duration_ms: 2.354542
duration_ms: 2.844125
...
# Subtest: Should correctly enforce single privileges when getAccess is called
ok 5 - Should correctly enforce single privileges when getAccess is called
---
duration_ms: 2.442584
duration_ms: 2.769583
...
# Subtest: Should correctly enforce multiple privileges when getAccess is called
ok 6 - Should correctly enforce multiple privileges when getAccess is called
---
duration_ms: 1.936875
duration_ms: 2.167667
...
# Subtest: Should correctly return false when getAccess is called with invalid privileges
ok 7 - Should correctly return false when getAccess is called with invalid privileges
---
duration_ms: 1.331833
duration_ms: 1.490583
...
# Subtest: Should return 403 Access denied when /joincode is called as a user
ok 8 - Should return 403 Access denied when /joincode is called as a user
---
duration_ms: 3.667166
duration_ms: 4.1015
...
1..8
ok 3 - Authentication
---
duration_ms: 106.705667
duration_ms: 185.648625
type: 'suite'
...
1..3
ok 1 - Server
---
duration_ms: 133.005709
duration_ms: 225.935875
type: 'suite'
...
1..1
Expand All @@ -106,7 +106,7 @@ ok 1 - Server
# cancelled 0
# skipped 0
# todo 0
# duration_ms 386.395458
# duration_ms 712.396542
# start of coverage report
# file | line % | branch % | funcs % | uncovered lines
# Attendance.js | 50.00 | 100.00 | 0.00 | 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184
Expand Down

0 comments on commit 6716ffb

Please sign in to comment.