FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: add fs/promises filehandle stat test by shisama · Pull Request #20492 · nodejs/node · GitHub

/ node Public

test: add fs/promises filehandle stat test - #20492

Closed
shisama wants to merge 2 commits into
nodejs:masterfrom
shisama:test-fs-promises-filehandle-stat
Closed

test: add fs/promises filehandle stat test#20492
shisama wants to merge 2 commits into
nodejs:masterfrom
shisama:test-fs-promises-filehandle-stat

Conversation

shisama commented May 3, 2018
edited
Loading

Copy link
Copy Markdown
Contributor

Added test for fs/promises filehandle stat.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Added test for fs/promises filehandle stat.
nodejs-github-bot added the test Issues and PRs related to the tests. label May 3, 2018
common.crashOnUnhandledRejection();

async function validateStat() {
const filePath = path.resolve(tmpDir, 'tmp-read-file.txt');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

tmpDir is used used only once here.
Can we remove variable tmpDir and pass tmpdir.path here, so that there's no confusion between similar looking variables tmpdir and tmpDir

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@trivikr
Thank you. I fixed it.

trivikr commented May 4, 2018

Copy link
Copy Markdown
Member

trivikr commented May 5, 2018

Copy link
Copy Markdown
Member

CI rerun for node-test-commit-aix https://ci.nodejs.org/job/node-test-commit-aix/14731/

trivikr added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label May 5, 2018
trivikr pushed a commit that referenced this pull request May 5, 2018
Added test for fs/promises filehandle stat.

PR-URL: #20492
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

trivikr commented May 5, 2018

Copy link
Copy Markdown
Member

Landed in f74b344

Congratulations @shisama on your first commit in Node.js core! 🎉 🎉 🎉

trivikr closed this May 5, 2018
ChALkeR added the experimental Issues and PRs related to experimental features. label May 8, 2018
MylesBorins pushed a commit that referenced this pull request May 8, 2018
Added test for fs/promises filehandle stat.

PR-URL: #20492
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins mentioned this pull request May 8, 2018
MylesBorins pushed a commit that referenced this pull request May 8, 2018
Added test for fs/promises filehandle stat.

PR-URL: #20492
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 9, 2018
Added test for fs/promises filehandle stat.

PR-URL: #20492
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. experimental Issues and PRs related to experimental features. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL