Skip to content

Commit f815224

Browse files
style: format code with Prettier
This commit fixes the style issues introduced in c5e5eb7 according to the output from Prettier. Details: #29
1 parent c5e5eb7 commit f815224

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

lib/__tests__/dist.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ describe.concurrent("Test plugin with default options in example build with tsup
2424
expect(/data-testid/.test(text)).toBe(false);
2525
});
2626

27-
test('should not contain .snap files', ({expect}) => {
28-
expect(fs.existsSync(path.resolve(exampleBuildDir, "client", "header", '__snapshots__'))).toBe(false);
29-
})
27+
test("should not contain .snap files", ({ expect }) => {
28+
expect(fs.existsSync(path.resolve(exampleBuildDir, "client", "header", "__snapshots__"))).toBe(
29+
false,
30+
);
31+
});
3032
});

packages/shared/src/client/header/header.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ describe.concurrent("header", () => {
88
test("check if h1 heading exists", () => {
99
render(<Header />);
1010
});
11-
test("snapshot", ({expect}) => {
11+
test("snapshot", ({ expect }) => {
1212
const { container } = render(<Header />);
1313
expect(container).toMatchSnapshot();
14-
})
14+
});
1515
});

0 commit comments

Comments
 (0)