Skip to content

test: refactor test/common/report.js - #25754

Merged
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:common-report
Jan 30, 2019
Merged

test: refactor test/common/report.js#25754
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:common-report

Conversation

@cjihrig

Copy link
Copy Markdown
Contributor
  • Don't unnecessarily require('../common').
  • Eliminate state maintained in tmppath.
  • validate() was being used synchronously, but was actually asynchronous. Make it synchronous.
  • Other misc. drive by cleanup.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jan 28, 2019
Comment threadtest/common/report.js Outdated
@cjihrig

Copy link
Copy Markdown
ContributorAuthor

- Don't unnecessarily require('../common').
- Eliminate state maintained in tmppath.
- validate() was being used synchronously, but was actually
asynchronous. Make it synchronous.
- Other misc. drive by cleanup.
PR-URL: nodejs#25754
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
@cjihrig
cjihrig merged commit c64b1ae into nodejs:masterJan 30, 2019
targos pushed a commit that referenced this pull request Jan 30, 2019
- Don't unnecessarily require('../common').
- Eliminate state maintained in tmppath.
- validate() was being used synchronously, but was actually
asynchronous. Make it synchronous.
- Other misc. drive by cleanup.
PR-URL: #25754
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@cjihrig@nodejs-github-bot@Trott@antsmartian@richardlau@gireeshpunathil