Uh oh!
There was an error while loading. Please reload this page.
test: update test-crypto-aes-wrap to use node:test - #55110
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #55110 +/- ##
==========================================
- Coverage 88.25% 88.24% -0.02%
==========================================
Files 651 651 Lines 183871 183871 Branches 35859 35851 -8 ==========================================
- Hits 162271 162248 -23 - Misses 14895 14905 +10 - Partials 6705 6718 +13 |
aduh95
commented
Sep 25, 2024
Why? |
jasnell
commented
Sep 26, 2024
As I've discussed in other threads I'm working incrementally on trying to make our tests more structured so that they are easier to understand and easier to port/run in other environments. This is part of that effort. |
nodejs-github-bot
commented
Sep 26, 2024
| const crypto = require('crypto'); | ||
| // Disabling the unnecessary lint rule here. We're testing the common.hasCrypto | ||
| // in the skip option of the describe block. | ||
| /* eslint-disable node-core/crypto-check */ |
There was a problem hiding this comment.
I wonder why don't we just skip crypto on the python runner? This would avoid spawning those threads?
There was a problem hiding this comment.
I would like to see an official TSC vote/decision on this which is not made for Cloudflare/workerd interests. It is like we go to another project and start making changes to their tests (with all the drawbacks that this might have for that project) so that it is easier for us to use their tests. That seems silly to me.
aduh95
commented
Sep 28, 2024
I suspect it would be easier to review this kind of PR if there was some guide that explains what makes a test "less portable". |
No description provided.