Skip to content

Commit 37831c9

Browse files
authored
remove commented-out stuff
1 parent 605946d commit 37831c9

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

test/__d8.mjs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
const queue = [];
44
let stack = [];
55
let index = 0;
6-
// let currentName;
7-
// let prefix = '';
86

97
async function process() {
108
const id = index++;
@@ -20,9 +18,7 @@ async function process() {
2018

2119
const processors = {
2220
async describe(name, fn, path) {
23-
// stack.push(Array.from({ length: stack.length + 1 }).join(' ') + name);
2421
stack.push(name);
25-
// log('INFO', Array.from(path).fill(' ').join('') + name);
2622
log('INFO', name);
2723
await fn();
2824
stack.pop();
@@ -42,18 +38,14 @@ const processors = {
4238
.then(fn)
4339
.then(() => calls || done())
4440
.catch(err => {
45-
// setTimeout(process);
46-
// throw new Error(`\t${err.stack || err.message}`);
4741
log('ERROR', `🚨 ${name}`);
4842
log('ERROR', '\t' + String(err.stack || err.message || err));
49-
// setTimeout(process);
5043
resolve();
5144
});
5245
});
5346
for (let i=0; i<logBuffer.length; i++) log(...logBuffer[i]);
5447
logBuffer = undefined;
5548
stack = stackBefore;
56-
// process();
5749
}
5850
};
5951

@@ -139,4 +131,4 @@ class Expect {
139131
log(isOver !== negated ? 'SUCCESS' : 'ERROR', ' ' + msg);
140132
}
141133
}
142-
}
134+
}

0 commit comments

Comments
 (0)