Skip to content

Commit

Permalink
formatting pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 committed Oct 11, 2022
1 parent 1336581 commit 3e082cf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions repo-scripts/prune-dts/prune-dts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ function getTestCases(): TestCase[] {
}

return fs
.readdirSync(testCasesDir)
.filter((fileName: string) => testDataFilter.test(fileName))
.filter((fileName: string) => testCaseFilterRe.test(fileName))
.map((fileName: string) => {
const testCaseName = fileName.match(testDataFilter)![1];
.readdirSync(testCasesDir)
.filter((fileName: string) => testDataFilter.test(fileName))
.filter((fileName: string) => testCaseFilterRe.test(fileName))
.map((fileName: string) => {
const testCaseName = fileName.match(testDataFilter)![1];

const inputFileName = `${testCaseName}.input.d.ts`;
const outputFileName = `${testCaseName}.output.d.ts`;
const inputFileName = `${testCaseName}.input.d.ts`;
const outputFileName = `${testCaseName}.output.d.ts`;

const name = testCaseName.replace(/-/g, ' ');
return { name, inputFileName, outputFileName };
});
const name = testCaseName.replace(/-/g, ' ');
return { name, inputFileName, outputFileName };
});
}

describe('Prune DTS', () => {
Expand Down

0 comments on commit 3e082cf

Please sign in to comment.