Skip to content

Commit

Permalink
chore: cleanup createFixtureProject in integration test helpers (#7264
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MichaelDeBoey authored Aug 29, 2023
1 parent 3e36c8d commit 5b5bb9b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions integration/helpers/create-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,6 @@ async function writeTestFiles(init: FixtureInit, dir: string) {
let filePath = path.join(dir, filename);
await fse.ensureDir(path.dirname(filePath));
let file = init.files![filename];
// if we have a jsconfig we don't want the tsconfig to exist
if (filename.endsWith("jsconfig.json")) {
let parsed = path.parse(filePath);
await fse.remove(path.join(parsed.dir, "tsconfig.json"));
}

await fse.writeFile(filePath, stripIndent(file));
})
Expand Down

0 comments on commit 5b5bb9b

Please sign in to comment.