We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5348d81 commit e486b41Copy full SHA for e486b41
lib/test.js
@@ -138,7 +138,7 @@ async function runMocha(state) {
138
let pretty = null;
139
try {
140
pretty = JSON.stringify(obj, null, 2);
141
- } catch(e) {
+ } catch {
142
// we need to remove circular references from the json
143
// in order to pretty print with JSON.stringify
144
pretty = JSON.stringify(cycle.decycle(obj), null, 2);
0 commit comments