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

server: catch errors while creating and closing a test app #656

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

dirkdev98
Copy link
Member

Closes #655

@dirkdev98 dirkdev98 enabled auto-merge (squash) February 4, 2021 18:44
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2021

==== Benchmark result ====

Node.js version: 14
Total benchmarks: 15
          Passed: 15
          Failed: 0
-----------
router - github static path              200000  iterations    6606  ns/op
router - github path params              200000  iterations    9046  ns/op
compas validator simple                 5000000  iterations     227  ns/op
yup validator simple                     100000  iterations   10657  ns/op
fastest-validator validator simple     20000000  iterations     100  ns/op
compas validator nested                 1000000  iterations    1159  ns/op
yup validator nested                      50000  iterations   32452  ns/op
fastest-validator validator nested      5000000  iterations     471  ns/op
logger - strings                         500000  iterations    2384  ns/op
logger - objects                         500000  iterations    2936  ns/op
logger - deep objects                    500000  iterations    4325  ns/op
uuid                                    5000000  iterations     444  ns/op
uuid.isValid                           10000000  iterations     134  ns/op
isNil                                 500000000  iterations       0  ns/op
isPlainObject                         100000000  iterations      18  ns/op

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2021

==== Benchmark result ====

Node.js version: 15
Total benchmarks: 15
          Passed: 15
          Failed: 0
-----------
router - github static path              200000  iterations    8239  ns/op
router - github path params              100000  iterations   10120  ns/op
compas validator simple                 5000000  iterations     255  ns/op
yup validator simple                     100000  iterations   11949  ns/op
fastest-validator validator simple     10000000  iterations     107  ns/op
compas validator nested                 1000000  iterations    1508  ns/op
yup validator nested                      50000  iterations   43963  ns/op
fastest-validator validator nested      2000000  iterations     538  ns/op
logger - strings                         500000  iterations    2883  ns/op
logger - objects                         500000  iterations    3575  ns/op
logger - deep objects                    200000  iterations    6075  ns/op
uuid                                    5000000  iterations     382  ns/op
uuid.isValid                           10000000  iterations     140  ns/op
isNil                                 500000000  iterations       0  ns/op
isPlainObject                         100000000  iterations      19  ns/op

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2021

==== C8 test coverage ====
Statements: 66.42% ( 24601/37041 )
Branches : 65.25% ( 2715 /4161 )
Functions : 66.86% ( 825 /1234 )
Lines : 66.42% ( 24601 /37041 )

@dirkdev98 dirkdev98 merged commit 6d8f7d0 into main Feb 4, 2021
@dirkdev98 dirkdev98 deleted the fix/server-test-app branch February 4, 2021 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

server: handle errors on test server creation
1 participant