Skip to content

Commit

Permalink
Fix Prettier errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Mar 21, 2024
1 parent e2f1a40 commit 9fd63d8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/coverage/
/dist/
/documents/
/documents/*.md
/test/output/
/CHANGELOG.md
/pnpm-lock.yaml
6 changes: 5 additions & 1 deletion test/generate-component.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ it("generates a class-based `.gts` component", async (ctx) => {
it("generates a template-only `.gts` component at a custom path", async (ctx) => {
cwd = await copyBlueprint("v2-addon");

await generateComponent("foo", { cwd, path: "src/-private", typescript: true });
await generateComponent("foo", {
cwd,
path: "src/-private",
typescript: true,
});

const content = await readFile(join(cwd, "src/-private/foo.gts"), "utf-8");

Expand Down
6 changes: 5 additions & 1 deletion test/generate-modifier.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ it("generates a class-based `.ts` modifier", async (ctx) => {
it("generates a function-based `.ts` modifier at a custom path", async (ctx) => {
cwd = await copyBlueprint("v2-addon");

await generateModifier("foo", { cwd, path: "src/-private", typescript: true });
await generateModifier("foo", {
cwd,
path: "src/-private",
typescript: true,
});

const content = await readFile(join(cwd, "src/-private/foo.ts"), "utf-8");

Expand Down

0 comments on commit 9fd63d8

Please sign in to comment.