refactor(workspace): unify application workflow
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user