Skip to content

Commit d0c1a59

Browse files
committed
feat: update name query to return my name
1 parent da7ca0c commit d0c1a59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__tests__/utils/QueryProcessor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("QueryProcessor", () => {
3030
const query = "What is your name?";
3131
const response: string = QueryProcessor(query);
3232
expect(response).toBe((
33-
"Rohan"
33+
"Matt Cadena"
3434
));
3535
})
3636
});

utils/QueryProcessor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function QueryProcessor(query: string): string {
1414
}
1515

1616
if (query.toLowerCase().includes("name")) {
17-
return "Rohan";
17+
return "Matt Cadena";
1818
}
1919

2020
return "";

0 commit comments

Comments
 (0)