Skip to content

Commit 164fadf

Browse files
committed
fixup! process: add coverage tests for sourceMapFromDataUrl method
1 parent c637302 commit 164fadf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-source-map.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function nextdir() {
116116
);
117117
}
118118

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

135+
// JSON error does not crash application.
134136
{
135137
const coverageDirectory = nextdir();
136138
const output = spawnSync(process.execPath, [

0 commit comments

Comments
 (0)