mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
fix: e2e
This commit is contained in:
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();
|
||||
|
||||
|
||||
@@ -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(),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user