Skip to content

Commit f47dcf2

Browse files
committed
fix: e2e
1 parent 109a869 commit f47dcf2

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/tools/csv-to-json/csv-to-json.e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test.describe('Tool - CSV to JSON', () => {
1414
Age,Salary,Gender,Country,Purchased
1515
18,20000,Male,Germany,N
1616
19,22000,Female,France,N
17-
`);
17+
`.trim());
1818

1919
const generatedJson = await page.getByTestId('area-content').innerText();
2020

src/tools/json-to-ts/json-to-ts.e2e.spec.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ test.describe('Tool - JSON to TS', () => {
2626

2727
expect(generatedJson.trim()).toEqual(
2828
`
29-
interface DataProps {
30-
foo: string;
31-
list: List;
32-
}
33-
34-
interface List {
35-
name: string;
36-
another: Another;
37-
}
38-
39-
interface Another {
40-
key: string;
41-
}
29+
interface DataProps {
30+
foo: string;
31+
list: List;
32+
}
33+
34+
interface List {
35+
name: string;
36+
another: Another;
37+
}
38+
39+
interface Another {
40+
key: string;
41+
}
4242
`.trim(),
4343
);
4444
});

0 commit comments

Comments
 (0)