Skip to content

Commit

Permalink
fixup! process: add coverage tests for sourceMapFromDataUrl method
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Nov 8, 2019
1 parent c637302 commit 164fadf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-source-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ function nextdir() {
);
}

// base64 encoding error does not crash application.
{
const coverageDirectory = nextdir();
const output = spawnSync(process.execPath, [
Expand All @@ -131,6 +132,7 @@ function nextdir() {
assert.strictEqual(sourceMap.data, null);
}

// JSON error does not crash application.
{
const coverageDirectory = nextdir();
const output = spawnSync(process.execPath, [
Expand Down

0 comments on commit 164fadf

Please sign in to comment.