We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21ec3b commit 6d8a777Copy full SHA for 6d8a777
test/test.js
@@ -90,6 +90,8 @@ test('bad input', function (tt) {
90
t.equal(res, undefined);
91
// make error a serializable object
92
error = JSON.parse(JSON.stringify(error));
93
+ // remove system-specific path
94
+ delete error.filename;
95
var outputfile = file.replace('.input.js', '.output.json');
96
if (UPDATE) {
97
fs.writeFileSync(outputfile, JSON.stringify(error, null, 2));
0 commit comments