Skip to content

Commit 2fb571b

Browse files
committed
feat: change name query to return my Andrew ID
1 parent d0c1a59 commit 2fb571b

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-
"Matt Cadena"
33+
"mcadena"
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 "Matt Cadena";
17+
return "mcadena";
1818
}
1919

2020
return "";

0 commit comments

Comments
 (0)