Skip to content

Commit 6d8a777

Browse files
committed
Remove system path
1 parent b21ec3b commit 6d8a777

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ test('bad input', function (tt) {
9090
t.equal(res, undefined);
9191
// make error a serializable object
9292
error = JSON.parse(JSON.stringify(error));
93+
// remove system-specific path
94+
delete error.filename;
9395
var outputfile = file.replace('.input.js', '.output.json');
9496
if (UPDATE) {
9597
fs.writeFileSync(outputfile, JSON.stringify(error, null, 2));

0 commit comments

Comments
 (0)