fix(match): prioritize meaningful job terms
This commit is contained in:
@@ -76,12 +76,15 @@ afterEach(() => {
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
||||
test('match score panel shows the score, matched and missing keywords', async () => {
|
||||
test('match score panel shows the score and honest important-term labels', async () => {
|
||||
renderDialog();
|
||||
|
||||
expect(await screen.findByText('82%')).toBeInTheDocument();
|
||||
expect(await screen.findByText(/strong match/i)).toBeInTheDocument();
|
||||
expect(await screen.findByText('4/6 keywords')).toBeInTheDocument();
|
||||
expect(await screen.findByText('4/6 important terms')).toBeInTheDocument();
|
||||
expect(await screen.findByText('Important terms already in your CV')).toBeInTheDocument();
|
||||
expect(await screen.findByText('Important terms from the job to review')).toBeInTheDocument();
|
||||
expect(screen.queryByText(/matched keywords/i)).not.toBeInTheDocument();
|
||||
|
||||
// Matched keyword chips
|
||||
expect(await screen.findByText('C#')).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user