Skip to content

process: add coverage tests for sourceMapFromDataUrl method - #30319

Closed
Nolikzero wants to merge 2 commits into
nodejs:masterfrom
Nolikzero:source-maps-tests
Closed

process: add coverage tests for sourceMapFromDataUrl method#30319
Nolikzero wants to merge 2 commits into
nodejs:masterfrom
Nolikzero:source-maps-tests

Conversation

@Nolikzero

Copy link
Copy Markdown
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Nov 6, 2019
@addaleax
addaleax requested a review from bcoeNovember 6, 2019 17:08
@addaleaxaddaleax added the source maps Issues and PRs related to source map support. label Nov 6, 2019
bcoe
bcoe approved these changes Nov 6, 2019

@bcoebcoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

these look like good tests to me 👍 did you confirm that they increase coverage?

Comment threadtest/parallel/test-source-map.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could we add a comment above both of these blocks that describes the purpose of the test, e.g.,

"base64 encoding error does not crash application".

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.

I took the liberty of adding two comments. LGTY?

@BridgeARBridgeAR added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Nov 6, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Trott commented Nov 9, 2019

Copy link
Copy Markdown
Member

@Nolikzero FWIW, GitHub can't link your account to your contributions. See https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork to fix. (Basically, you'll need to add the email in your commit to https://github.com/settings/emails.)

Trott pushed a commit that referenced this pull request Nov 9, 2019
PR-URL: #30319
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
@Trott

Trott commented Nov 9, 2019

Copy link
Copy Markdown
Member

Landed in eb77321

Thanks for the contribution! 🎉

@TrottTrott closed this Nov 9, 2019
MylesBorins pushed a commit that referenced this pull request Nov 17, 2019
PR-URL: #30319
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
@BridgeARBridgeAR mentioned this pull request Nov 19, 2019
targos pushed a commit that referenced this pull request Dec 1, 2019
PR-URL: #30319
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Dec 9, 2019
MylesBorins pushed a commit that referenced this pull request Dec 17, 2019
PR-URL: #30319
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Dec 23, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.source mapsIssues and PRs related to source map support.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@Nolikzero@nodejs-github-bot@Trott@bcoe@addaleax@BridgeAR@shisama@trivikr