Skip to content

Commit d2e6683

Browse files
authored
Move testOptions inside testFilePrefix in transformer tests (#86)
1 parent 0974eb6 commit d2e6683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transforms/v2-to-v3/transformer.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ describe("v2-to-v3", () => {
1010
.filter((fileName) => fileName.endsWith(".input.ts"))
1111
.map((fileName) => fileName.replace(".input.ts", ""));
1212

13-
describe.each([{}, { parser: "ts" }])("testOptions: %o", (testOptions) => {
14-
it.each(testFilePrefixes)(`transforms correctly using "%s" data`, (testFilePrefix) => {
13+
describe.each(testFilePrefixes)(`transforms correctly using "%s" data`, (testFilePrefix) => {
14+
it.each([{}, { parser: "ts" }])("with testOptions: %o", (testOptions) => {
1515
const path = join(fixtureDir, testFilePrefix + `.input.ts`);
1616
const source = readFileSync(path, "utf8");
1717
const input = { path, source };

0 commit comments

Comments
 (0)