diff --git a/src/tools/csv-to-json/csv-to-json.e2e.spec.ts b/src/tools/csv-to-json/csv-to-json.e2e.spec.ts index 6ae90e9f..391a3279 100644 --- a/src/tools/csv-to-json/csv-to-json.e2e.spec.ts +++ b/src/tools/csv-to-json/csv-to-json.e2e.spec.ts @@ -14,7 +14,7 @@ test.describe('Tool - CSV to JSON', () => { Age,Salary,Gender,Country,Purchased 18,20000,Male,Germany,N 19,22000,Female,France,N - `); + `.trim()); const generatedJson = await page.getByTestId('area-content').innerText(); diff --git a/src/tools/json-to-ts/json-to-ts.e2e.spec.ts b/src/tools/json-to-ts/json-to-ts.e2e.spec.ts index 2e4f4884..d97cf4cf 100644 --- a/src/tools/json-to-ts/json-to-ts.e2e.spec.ts +++ b/src/tools/json-to-ts/json-to-ts.e2e.spec.ts @@ -26,19 +26,19 @@ test.describe('Tool - JSON to TS', () => { expect(generatedJson.trim()).toEqual( ` - interface DataProps { - foo: string; - list: List; - } - - interface List { - name: string; - another: Another; - } - - interface Another { - key: string; - } +interface DataProps { + foo: string; + list: List; +} + +interface List { + name: string; + another: Another; +} + +interface Another { + key: string; +} `.trim(), ); });