chore: lint using putout

This commit is contained in:
coderaiser
2020-06-01 00:04:17 +03:00
parent 4e6151d011
commit f63f1f7b95
16 changed files with 50 additions and 31 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ describe('Escape Sequence Files', function(): void {
ptyTerm._master.destroy();
});
FILES.forEach(filename => {
for (const filename of FILES) {
(process.platform === 'win32' ? it.skip : it)(filename.split('/').slice(-1)[0], async () => {
// reset terminal and handler
if (customHandler) {
@@ -93,7 +93,7 @@ describe('Escape Sequence Files', function(): void {
throw new Error(formatError(fs.readFileSync(filename, 'utf8'), content, expected));
}
});
});
}
});
/**