Closed JKRhb closed 2 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
lib/server.ts | 17 | 19 | 89.47% | ||
<!-- | Total: | 22 | 24 | 91.67% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
lib/server.ts | 2 | 86.22% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 9363797542: | -0.1% |
Covered Lines: | 2893 |
Relevant Lines: | 3111 |
Apparently, it's only two tests that are broken under Node 20. I will look into how to solve the problem here.
overlaps replaces https://github.com/coapjs/node-coap/pull/362 ?
overlaps replaces #362 ?
Hmm, good point! Maybe updating will actually solve the issue here – I will test it out :)
I think this PR is now ready for review :) The tests are passing now again (I also added Node 22 to the test matrix) – however, I needed to skip a few of them since there seem to be some changes in Node 20 and above that cause issues with sinon
.
In general, the tests are somewhat flaky at the moment, but I think we can probably deal with that in future PRs. For now, it is probably more important to be able to move forward again (and maybe also release a new version).
This PR will investigate and hopefully eventually solve the issues we currently observe when it comes to testing the library.