Skip to content

Conversation

@Ceres6
Copy link
Contributor

@Ceres6 Ceres6 commented Nov 6, 2024

Migrate test/parallel/test-fs-read-promises-optional-params to use node test runner

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Nov 6, 2024
@bengl bengl added request-ci Add this label to start a Jenkins CI on a PR. code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. labels Nov 6, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 6, 2024
@nodejs-github-bot
Copy link
Collaborator

const fsPromises = require('node:fs/promises');
const read = require('node:util').promisify(fs.read);
const assert = require('node:assert');
const { describe, test } = require('node:test');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const { describe, test } = require('node:test');
const { describe, it } = require('node:test');

"it" is the correct function for "describe", but I don't remember if it really matters under the hood

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think one is an alias of the other, but changed it anyway

@codecov
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.40%. Comparing base (8807549) to head (b5db14e).
Report is 175 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55749      +/-   ##
==========================================
- Coverage   88.43%   88.40%   -0.04%     
==========================================
  Files         654      654              
  Lines      187698   187747      +49     
  Branches    36123    36130       +7     
==========================================
- Hits       165998   165973      -25     
- Misses      14945    15012      +67     
- Partials     6755     6762       +7     

see 67 files with indirect coverage changes

---- 🚨 Try these New Features:

@legendecas legendecas added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants