Files
kilo-cv/tests/regression/__snapshots__/api-snapshot.test.js.snap
2026-02-23 13:48:13 +01:00

110 lines
2.1 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`Regression: API Snapshots > GET /api/cv response matches snapshot > cv-data-response 1`] = `
{
"education": [
{
"degree": "CS Degree",
"id": 1,
"institution": "Test University",
"period": "2016-2020",
"status": "Completed",
},
],
"experience": [
{
"company": "Test Corp",
"description": "Testing",
"highlights": [
"Automated tests",
],
"id": 1,
"period": "2020-2024",
"role": "QA Engineer",
"type": "Vollzeit",
},
],
"personal": {
"email": "regression@test.com",
"name": "Regression Test User",
"title": "Test Engineer",
},
"projects": [
{
"description": "Test framework",
"id": 1,
"name": "Test Project",
"tech": [
"Vitest",
],
"url": "https://test.com",
},
],
"skills": {
"Testing": [
"Vitest",
"Playwright",
],
},
}
`;
exports[`Regression: API Snapshots > education section matches snapshot > education-section 1`] = `
[
{
"degree": "CS Degree",
"id": 1,
"institution": "Test University",
"period": "2016-2020",
"status": "Completed",
},
]
`;
exports[`Regression: API Snapshots > experience section matches snapshot > experience-section 1`] = `
[
{
"company": "Test Corp",
"description": "Testing",
"highlights": [
"Automated tests",
],
"id": 1,
"period": "2020-2024",
"role": "QA Engineer",
"type": "Vollzeit",
},
]
`;
exports[`Regression: API Snapshots > personal section matches snapshot > personal-section 1`] = `
{
"email": "regression@test.com",
"name": "Regression Test User",
"title": "Test Engineer",
}
`;
exports[`Regression: API Snapshots > projects section matches snapshot > projects-section 1`] = `
[
{
"description": "Test framework",
"id": 1,
"name": "Test Project",
"tech": [
"Vitest",
],
"url": "https://test.com",
},
]
`;
exports[`Regression: API Snapshots > skills section matches snapshot > skills-section 1`] = `
{
"Testing": [
"Vitest",
"Playwright",
],
}
`;