Skip to content

Commit

Permalink
fix: skip multiple-declarators tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Oct 19, 2023
1 parent c866c5c commit 5ef1518
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/transforms/v2-to-v3/transformer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ describe("v2-to-v3", () => {
const fixtureDir = join(__dirname, "__fixtures__");
const fixtureSubDirs = readdirSync(fixtureDir, { withFileTypes: true })
.filter((dirent) => dirent.isDirectory())
.map((dirent) => dirent.name);
.map((dirent) => dirent.name)
// Temporarily skip multiple-declarators use case.
// Resume when declarators are sorted, and added before the selected import.
.filter((name) => name !== "multiple-declarators");

const getTestFileMetadata = (dirPath: string) =>
readdirSync(dirPath)
Expand All @@ -35,10 +38,6 @@ describe("v2-to-v3", () => {
};

describe.each(fixtureSubDirs)("%s", (subDir) => {
// Temporarily skip multiple-declarators use case.
// Resume when declarators are sorted, and added before the selected import.
if (fixtureDir === "multiple-declarators") return;

const subDirPath = join(fixtureDir, subDir);
it.concurrent.each(getTestFileMetadata(subDirPath))(
`transforms: %s.%s`,
Expand Down

0 comments on commit 5ef1518

Please sign in to comment.