This commit is contained in:
ShareVB committed 2024-12-01 14:44:06 +01:00
1 parent 109a869256
commit f47dcf28fe
2 files changed
+14 -14

No files matched your search

@@ -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();
+13 -13
View File
@@ -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(),
);
});