Skip to content

Commit c18fa43

Browse files
committed
fix syntax errors
1 parent 841f4c8 commit c18fa43

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/__tests__/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('HomePage Component', () => {
2020
render(<HomePage />)
2121
const textarea = screen.getByRole('textbox')
2222
expect(textarea).toBeInTheDocument()
23-
expect(textarea).toHaveAttribute('placeholder', 'Paste code here... ')
23+
expect(textarea).toHaveAttribute('placeholder', 'Paste code here... ');
2424
})
2525

2626
it('renders explain button', () => {

src/app/api/explain/__tests__/route.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe('POST /api/explain', () => {
9292
{
9393
role: 'system',
9494
content:
95-
'You are a helpful programming assistent. Explain the provided code clearly, concisely, and simply.',
95+
'You are a helpful programming assistant. Explain the provided code clearly, concisely, and simply.',
9696
},
9797
{
9898
role: 'user',

src/app/api/explain/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function POST(req: Request) {
2121
{
2222
role: "system",
2323
content:
24-
"You are a helpful programming assistent. Explain the provided code clearly, concisely, and simply.",
24+
"You are a helpful programming assistant. Explain the provided code clearly, concisely, and simply.",
2525
},
2626
{
2727
role: "user",

0 commit comments

Comments
 (0)