Skip to content

Commit edd0000

Browse files
nonaraRon Spickenagel
authored andcommitted
style: Formatting fixes
1 parent 0ff48d7 commit edd0000

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/prepare.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const fs = require("fs");
22
const path = require("path");
33
const tsPatch = require("ts-patch");
4-
const tsp1 = require('tsp1');
4+
const tsp1 = require("tsp1");
55

66
/* ****************************************************************************************************************** *
77
* Config
@@ -22,6 +22,6 @@ for (const tsDirName of tsDirs) {
2222
}
2323

2424
// Patch discovered modules
25-
for (const [ dirName, dir ] of baseDirs)
26-
if (dirName === 'typescript-three') tsp1.patch(["tsc.js", "typescript.js"], { basedir: dir })
25+
for (const [dirName, dir] of baseDirs)
26+
if (dirName === "typescript-three") tsp1.patch(["tsc.js", "typescript.js"], { basedir: dir });
2727
else tsPatch.patch(["tsc.js", "typescript.js"], { dir });

test/tests/transformer/specific.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ describe(`Specific Tests`, () => {
239239

240240
(!skipDts && tsVersion >= 38 ? test : test.skip)(`Resolves nested imports`, () => {
241241
expect(subPackagesFile).transformedMatches(
242-
`export ${tsVersion < 49 ? `declare ` : ''}type ImportWithChildren = import("./packages/pkg-a").PassThru<import("./packages/pkg-b").PackageBType>`,
242+
`export ${
243+
tsVersion < 49 ? `declare ` : ""
244+
}type ImportWithChildren = import("./packages/pkg-a").PassThru<import("./packages/pkg-b").PackageBType>`,
243245
{ kind: ["dts"] }
244246
);
245247
});

0 commit comments

Comments
 (0)