refactor(workspace): unify application workflow

This commit is contained in:
cesnimda
2026-08-28 12:28:12 +02:00
parent 4da673ff00
commit e3f938cb42
8 changed files with 264 additions and 102 deletions
@@ -59,6 +59,8 @@ const match = {
band: "Good",
hasEnoughSignal: true,
hasCareerProfile: true,
hasSelectedCv: true,
selectedCvName: "Backend CV",
matchedSkills: ["C#", "SQL"],
missingSkills: ["Kubernetes"],
relevantExperience: [{ title: "Backend Developer", subtitle: "Initech · 2021 – present", matched: ["C#"] }],
@@ -167,7 +169,7 @@ test("match asks for a career profile before showing a score", async () => {
render(<ApplicationMatch jobId={7} />);
expect(await screen.findByText(/No career profile yet/i)).toBeInTheDocument();
expect(await screen.findByText(/linked CV cannot be matched/i)).toBeInTheDocument();
expect(screen.queryByText("0%")).not.toBeInTheDocument();
});